Skip to content

[3.6] bpo-30604: Fix __PyCodeExtraState_Get() prototype #2152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2017
Merged

[3.6] bpo-30604: Fix __PyCodeExtraState_Get() prototype #2152

merged 1 commit into from
Jun 13, 2017

Conversation

vstinner
Copy link
Member

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();

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();
@vstinner vstinner requested a review from DinoV June 13, 2017 08:21
@vstinner vstinner merged commit 932946c into python:3.6 Jun 13, 2017
@vstinner vstinner deleted the pystate36 branch June 13, 2017 08:39
@Mariatta
Copy link
Member

This still needs porting to 3.7

@1st1
Copy link
Member

1st1 commented Jun 21, 2017

This still needs porting to 3.7

No, this is only 3.6 thing. This issue was a bit messy :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants