From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 19 Sep 2019 06:41:35 +0000 (-0700) Subject: Fix _PyTraceMalloc_Fini() definition (GH-16259) (GH-16278) X-Git-Tag: v3.8.0rc1~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d9efc4a2750e0512c0d2af27c70c3dea018a4e6;p=python 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 --- diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h index a21eb01422..852280e840 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(