]> granicus.if.org Git - python/commitdiff
Fix _PyTraceMalloc_Fini() definition (GH-16259) (GH-16278)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 19 Sep 2019 06:41:35 +0000 (23:41 -0700)
committerStéphane Wirtel <stephane@wirtel.be>
Thu, 19 Sep 2019 06:41:35 +0000 (08:41 +0200)
The function return type is void, not int.
(cherry picked from commit d299b8b47d9dbea8fec2c2abcb6c32ad32f5f4d1)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Include/internal/pycore_pylifecycle.h

index a21eb014223371a7e1cd18863a67d37db609db7b..852280e84027f24fac919000fd9f7d88176d808b 100644 (file)
@@ -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(