]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Make cpython/abstract.h compatible with C90 (#18481)
authorPeter Eisentraut <peter@eisentraut.org>
Sat, 14 Mar 2020 11:47:09 +0000 (12:47 +0100)
committerGitHub <noreply@github.com>
Sat, 14 Mar 2020 11:47:09 +0000 (13:47 +0200)
commitfaf626b8cc6dd5c952f3fa33b09ae521388479cd
tree58a8b1ed67093ea98b463efcdb5d55e039f26cac
parent5208b4b37953a406db0ed6a9db545c2948dde989
Make cpython/abstract.h compatible with C90 (#18481)

Some inline functions use mixed declarations and code.  These end up
visible in third-party code that includes Python.h, which might not be
using a C99 compiler.  Fix by moving the declarations first, like in
the old days.
Include/cpython/abstract.h