Skip to content

Commit d299b8b

Browse files
authored
Fix _PyTraceMalloc_Fini() definition (GH-16259)
The function return type is void, not int.
1 parent 0a963fb commit d299b8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_pylifecycle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ extern void _PyUnicode_Fini(void);
8484
extern void _PyLong_Fini(void);
8585
extern void _PyFaulthandler_Fini(void);
8686
extern void _PyHash_Fini(void);
87-
extern int _PyTraceMalloc_Fini(void);
87+
extern void _PyTraceMalloc_Fini(void);
8888
extern void _PyWarnings_Fini(PyInterpreterState *interp);
8989

9090
extern void _PyGILState_Init(

0 commit comments

Comments
 (0)