]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92781: Avoid mixing declarations and code in C API (#92783)
authorVictor Stinner <vstinner@python.org>
Sun, 15 May 2022 09:19:52 +0000 (11:19 +0200)
committerGitHub <noreply@github.com>
Sun, 15 May 2022 09:19:52 +0000 (11:19 +0200)
commit90e72300730189c4a48529baaad9b0005d40731c
tree9a4313d1b3fca0a17e4349bff1750497a89baec0
parentdb0b455ff482df68f331411bf22b3e5829398280
gh-92781: Avoid mixing declarations and code in C API (#92783)

Avoid mixing declarations and code in the C API to fix the compiler
warning: "ISO C90 forbids mixed declarations and code"
[-Werror=declaration-after-statement].
Include/cpython/abstract.h
Include/cpython/cellobject.h
Include/cpython/dictobject.h
Include/cpython/unicodeobject.h
Include/cpython/weakrefobject.h
Misc/NEWS.d/next/C API/2022-05-13-18-17-48.gh-issue-92781.TVDr3-.rst [new file with mode: 0644]