summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-09-18 12:39:20 (GMT)
committerGitHub <noreply@github.com>2019-09-18 12:39:20 (GMT)
commitd299b8b47d9dbea8fec2c2abcb6c32ad32f5f4d1 (patch)
treebe4c1edd4d560486725cd2452b36b96c89dacff4 /Include
parent0a963fbc9c4cf4569f1eadaa2aa1229bb0081256 (diff)
downloadcpython-d299b8b47d9dbea8fec2c2abcb6c32ad32f5f4d1.zip
cpython-d299b8b47d9dbea8fec2c2abcb6c32ad32f5f4d1.tar.gz
cpython-d299b8b47d9dbea8fec2c2abcb6c32ad32f5f4d1.tar.bz2
Fix _PyTraceMalloc_Fini() definition (GH-16259)
The function return type is void, not int.
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_pylifecycle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h
index cf844cc..cdf5c09 100644
--- a/Include/internal/pycore_pylifecycle.h
+++ b/Include/internal/pycore_pylifecycle.h
@@ -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(