diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-19 06:41:35 (GMT) |
---|---|---|
committer | Stéphane Wirtel <stephane@wirtel.be> | 2019-09-19 06:41:35 (GMT) |
commit | 8d9efc4a2750e0512c0d2af27c70c3dea018a4e6 (patch) | |
tree | 529a3afcd99520163899241500674df8bc2adc13 | |
parent | 16eb6232c0ac86e2a0072b98f5add46ab7cb08c0 (diff) | |
download | cpython-8d9efc4a2750e0512c0d2af27c70c3dea018a4e6.zip cpython-8d9efc4a2750e0512c0d2af27c70c3dea018a4e6.tar.gz cpython-8d9efc4a2750e0512c0d2af27c70c3dea018a4e6.tar.bz2 |
Fix _PyTraceMalloc_Fini() definition (GH-16259) (GH-16278)
The function return type is void, not int.
(cherry picked from commit d299b8b47d9dbea8fec2c2abcb6c32ad32f5f4d1)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
-rw-r--r-- | Include/internal/pycore_pylifecycle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h index a21eb01..852280e 100644 --- a/Include/internal/pycore_pylifecycle.h +++ b/Include/internal/pycore_pylifecycle.h @@ -83,7 +83,7 @@ extern void _PyUnicode_Fini(void); extern void PyLong_Fini(void); extern void _PyFaulthandler_Fini(void); extern void _PyHash_Fini(void); -extern int _PyTraceMalloc_Fini(void); +extern void _PyTraceMalloc_Fini(void); extern void _PyWarnings_Fini(PyInterpreterState *interp); extern void _PyGILState_Init( |