Kaydet (Commit) 2edcf0d7 authored tarafından Guido van Rossum's avatar Guido van Rossum

Move the prototype for dump_counts() to before where it is used.

(This only applies when COUNT_ALLOCS is defined.)
üst 38b92eb5
...@@ -162,6 +162,10 @@ Py_Initialize() ...@@ -162,6 +162,10 @@ Py_Initialize()
initsite(); /* Module site */ initsite(); /* Module site */
} }
#ifdef COUNT_ALLOCS
extern void dump_counts Py_PROTO((void));
#endif
/* Undo the effect of Py_Initialize(). /* Undo the effect of Py_Initialize().
Beware: if multiple interpreter and/or thread states exist, these Beware: if multiple interpreter and/or thread states exist, these
...@@ -1083,10 +1087,6 @@ call_ll_exitfuncs() ...@@ -1083,10 +1087,6 @@ call_ll_exitfuncs()
fflush(stderr); fflush(stderr);
} }
#ifdef COUNT_ALLOCS
extern void dump_counts Py_PROTO((void));
#endif
void void
Py_Exit(sts) Py_Exit(sts)
int sts; int sts;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment