diff options
author | Victor Stinner <vstinner@python.org> | 2021-09-03 16:44:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-03 16:44:02 +0200 |
commit | 7974c30b9fd84fa56ea1515ed2c08b38edf1a383 (patch) | |
tree | 2d638f338e1e6f90765fa731ff27ef6265524723 /Modules/_posixsubprocess.c | |
parent | be9de8721d63b9d8e032d508069daf88c06542c6 (diff) | |
download | cpython-git-7974c30b9fd84fa56ea1515ed2c08b38edf1a383.tar.gz |
bpo-45094: Add Py_NO_INLINE macro (GH-28140)
* Rename _Py_NO_INLINE macro to Py_NO_INLINE: make it public and
document it.
* Sort macros in the C API documentation.
Diffstat (limited to 'Modules/_posixsubprocess.c')
-rw-r--r-- | Modules/_posixsubprocess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_posixsubprocess.c b/Modules/_posixsubprocess.c index a58159a277..63207de8b9 100644 --- a/Modules/_posixsubprocess.c +++ b/Modules/_posixsubprocess.c @@ -451,7 +451,7 @@ reset_signal_handlers(const sigset_t *child_sigmask) * If vfork-unsafe functionality is desired after vfork(), consider using * syscall() to obtain it. */ -_Py_NO_INLINE static void +Py_NO_INLINE static void child_exec(char *const exec_array[], char *const argv[], char *const envp[], @@ -650,7 +650,7 @@ error: * child_exec() should not be inlined to avoid spurious -Wclobber warnings from * GCC (see bpo-35823). */ -_Py_NO_INLINE static pid_t +Py_NO_INLINE static pid_t do_fork_exec(char *const exec_array[], char *const argv[], char *const envp[], |