mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Move the prototype for dump_counts() to before where it is used.
(This only applies when COUNT_ALLOCS is defined.)
This commit is contained in:
parent
38b92eb56a
commit
2edcf0d71c
1 changed files with 4 additions and 4 deletions
|
@ -162,6 +162,10 @@ Py_Initialize()
|
|||
initsite(); /* Module site */
|
||||
}
|
||||
|
||||
#ifdef COUNT_ALLOCS
|
||||
extern void dump_counts Py_PROTO((void));
|
||||
#endif
|
||||
|
||||
/* Undo the effect of Py_Initialize().
|
||||
|
||||
Beware: if multiple interpreter and/or thread states exist, these
|
||||
|
@ -1083,10 +1087,6 @@ call_ll_exitfuncs()
|
|||
fflush(stderr);
|
||||
}
|
||||
|
||||
#ifdef COUNT_ALLOCS
|
||||
extern void dump_counts Py_PROTO((void));
|
||||
#endif
|
||||
|
||||
void
|
||||
Py_Exit(sts)
|
||||
int sts;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue