diff options
author | Guido van Rossum <guido@python.org> | 1998-12-15 16:12:00 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-12-15 16:12:00 (GMT) |
commit | 2edcf0d71c2938b4f7159bf586c2174326d57bd6 (patch) | |
tree | 2cad33978361700a2af8468cf69d56c56458ac09 /Python | |
parent | 38b92eb56a43cc9d67425de93b1bc4a80897f3e6 (diff) | |
download | cpython-2edcf0d71c2938b4f7159bf586c2174326d57bd6.zip cpython-2edcf0d71c2938b4f7159bf586c2174326d57bd6.tar.gz cpython-2edcf0d71c2938b4f7159bf586c2174326d57bd6.tar.bz2 |
Move the prototype for dump_counts() to before where it is used.
(This only applies when COUNT_ALLOCS is defined.)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pythonrun.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 1e26efc..cb6230a 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; |