Skip to content

Commit 8d9efc4

Browse files
miss-islingtonvstinner
authored andcommitted
Fix _PyTraceMalloc_Fini() definition (GH-16259) (GH-16278)
The function return type is void, not int. (cherry picked from commit d299b8b) Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 parent 16eb623 commit 8d9efc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Include/internal/pycore_pylifecycle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ extern void _PyUnicode_Fini(void);
8383
extern void PyLong_Fini(void);
8484
extern void _PyFaulthandler_Fini(void);
8585
extern void _PyHash_Fini(void);
86-
extern int _PyTraceMalloc_Fini(void);
86+
extern void _PyTraceMalloc_Fini(void);
8787
extern void _PyWarnings_Fini(PyInterpreterState *interp);
8888

8989
extern void _PyGILState_Init(

0 commit comments

Comments
 (0)