[Python-checkins] [python/cpython] 932946: bpo-30604: Fix __PyCodeExtraState_Get() prototype ...

GitHub noreply at github.com
Tue Jun 13 04:39:33 EDT 2017


  Branch: refs/heads/3.6
  Home:   https://github.com/python/cpython
  Commit: 932946ca14168e556293d2508c8eebb23a56a2b2
      https://github.com/python/cpython/commit/932946ca14168e556293d2508c8eebb23a56a2b2
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-06-13 (Tue, 13 Jun 2017)

  Changed paths:
    M Include/pystate.h
    M Python/pystate.c

  Log Message:
  -----------
  bpo-30604: Fix __PyCodeExtraState_Get() prototype (#2152)

Replace __PyCodeExtraState_Get() with __PyCodeExtraState_Get(void) to
fix the following GCC warning:

./Include/pystate.h:63:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 __PyCodeExtraState* __PyCodeExtraState_Get();




More information about the Python-checkins mailing list