]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106560: Fix redundant declarations in Include/ (#112611)
authorVictor Stinner <vstinner@python.org>
Sun, 3 Dec 2023 11:16:31 +0000 (12:16 +0100)
committerGitHub <noreply@github.com>
Sun, 3 Dec 2023 11:16:31 +0000 (12:16 +0100)
commit1f2a676785d48ed9ac01e60cc56a82e44b725474
tree8bde0ce4fcf587e2b9b39363afd2bb49daedaee4
parent29e6c7b68acac628b084a82670708008be262379
gh-106560: Fix redundant declarations in Include/ (#112611)

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

Compiler warnings seen by building Python with gcc -Wredundant-decls.
Include/boolobject.h
Include/cpython/sysmodule.h
Include/longobject.h
Misc/NEWS.d/next/C API/2023-12-02-02-08-11.gh-issue-106560.THvuji.rst [new file with mode: 0644]