]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35134: Don't define types twice in header files (GH-10754)
authorVictor Stinner <vstinner@redhat.com>
Tue, 27 Nov 2018 22:54:59 +0000 (23:54 +0100)
committerGitHub <noreply@github.com>
Tue, 27 Nov 2018 22:54:59 +0000 (23:54 +0100)
commit9bdd2de84c1af55fbc006d3f892313623bd0195c
tree7eece903ed6119c726acacbca5836cc53d455e52
parent1c607155c9e363489036ae6258b165a3fae75134
bpo-35134: Don't define types twice in header files (GH-10754)

Fix the following clang warning:

    Include/cpython/pystate.h:217:3: warning: redefinition of
    typedef 'PyThreadState' is a C11 feature [-Wtypedef-redefinition]
Include/object.h
Include/pystate.h