From: Victor Stinner Date: Wed, 18 Sep 2019 12:39:20 +0000 (+0200) Subject: Fix _PyTraceMalloc_Fini() definition (GH-16259) X-Git-Tag: v3.9.0a1~390 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d299b8b47d9dbea8fec2c2abcb6c32ad32f5f4d1;p=thirdparty%2FPython%2Fcpython.git Fix _PyTraceMalloc_Fini() definition (GH-16259) The function return type is void, not int. --- diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h index cf844cc063f8..cdf5c09a4262 100644 --- a/Include/internal/pycore_pylifecycle.h +++ b/Include/internal/pycore_pylifecycle.h @@ -84,7 +84,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(