]> granicus.if.org Git - python/commit
bpo-30604: Fix __PyCodeExtraState_Get() prototype (#2152)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 13 Jun 2017 08:39:30 +0000 (10:39 +0200)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2017 08:39:30 +0000 (10:39 +0200)
commit932946ca14168e556293d2508c8eebb23a56a2b2
tree7c027f342c09d8162f43facb2c0e9bf50e788508
parentd0d63dc1e8a2e71c4cd6497e5ea503c702d0fe3b
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();
Include/pystate.h
Python/pystate.c