Skip to content
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

gh-106560: Fix redundant declarations in Include/ #112611

Merged
merged 1 commit into from
Dec 3, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Dec 2, 2023

Don't declare PyBool_Type, PyLong_Type and PySys_Audit() twice, but only once.

Compiler warnings seen by building Python with gcc -Wredundant-decls.

Don't declare PyBool_Type, PyLong_Type and PySys_Audit() twice, but
only once.

Compiler warnings seen by building Python with gcc -Wredundant-decls.
@vstinner vstinner merged commit 1f2a676 into python:main Dec 3, 2023
33 checks passed
@vstinner vstinner deleted the redundant_declr_include branch December 3, 2023 11:16
@bedevere-app
Copy link

bedevere-app bot commented Dec 3, 2023

GH-112650 is a backport of this pull request to the 3.12 branch.

vstinner added a commit to vstinner/cpython that referenced this pull request Dec 3, 2023
Don't declare PyBool_Type and PyLong_Type twice, but only once.

Compiler warnings seen by building Python with gcc -Wredundant-decls.
vstinner added a commit that referenced this pull request Dec 3, 2023
…112650)

gh-106560: Fix redundant declarations in Include/ (#112611)

Don't declare PyBool_Type and PyLong_Type twice, but only once.

Compiler warnings seen by building Python with gcc -Wredundant-decls.
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Don't declare PyBool_Type, PyLong_Type and PySys_Audit() twice, but
only once.

Compiler warnings seen by building Python with gcc -Wredundant-decls.
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.

None yet

1 participant