From: Guido van Rossum Date: Tue, 15 Dec 1998 16:12:00 +0000 (+0000) Subject: Move the prototype for dump_counts() to before where it is used. X-Git-Tag: v1.5.2b1~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2edcf0d71c2938b4f7159bf586c2174326d57bd6;p=thirdparty%2FPython%2Fcpython.git Move the prototype for dump_counts() to before where it is used. (This only applies when COUNT_ALLOCS is defined.) --- diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 1e26efcc712e..cb6230a94eb1 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;