diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 1e26efcc712..cb6230a94eb 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -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;