diff options
| author | Victor Stinner <vstinner@redhat.com> | 2019-09-18 14:39:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-18 14:39:20 +0200 |
| commit | d299b8b47d9dbea8fec2c2abcb6c32ad32f5f4d1 (patch) | |
| tree | be4c1edd4d560486725cd2452b36b96c89dacff4 | |
| parent | 0a963fbc9c4cf4569f1eadaa2aa1229bb0081256 (diff) | |
| download | cpython-git-d299b8b47d9dbea8fec2c2abcb6c32ad32f5f4d1.tar.gz | |
Fix _PyTraceMalloc_Fini() definition (GH-16259)
The function return type is void, not int.
| -rw-r--r-- | Include/internal/pycore_pylifecycle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h index cf844cc063..cdf5c09a42 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( |
