]> granicus.if.org Git - python/commitdiff
Fix _PyTraceMalloc_Fini() definition (GH-16259)
authorVictor Stinner <vstinner@redhat.com>
Wed, 18 Sep 2019 12:39:20 +0000 (14:39 +0200)
committerGitHub <noreply@github.com>
Wed, 18 Sep 2019 12:39:20 +0000 (14:39 +0200)
The function return type is void, not int.

Include/internal/pycore_pylifecycle.h

index cf844cc063f812bb27db5295ef96173ab9ff9a1b..cdf5c09a4262ba78eae7f19a416bba8c003d0c57 100644 (file)
@@ -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(