Move the prototype for dump_counts() to before where it is used.
authorGuido van Rossum <guido@python.org>
Tue, 15 Dec 1998 16:12:00 +0000 (16:12 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 15 Dec 1998 16:12:00 +0000 (16:12 +0000)
(This only applies when COUNT_ALLOCS is defined.)

Python/pythonrun.c

index 1e26efcc712ea53d3921c9b42785b2610a94251c..cb6230a94eb1cab281cd5e6146c9a245da5b5cbc 100644 (file)
@@ -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;