diff Python/pythonrun.c @ 9641:d152adf3f094 legacy-trunk

Move the prototype for dump_counts() to before where it is used. (This only applies when COUNT_ALLOCS is defined.)
author Guido van Rossum <guido@python.org>
date Tue, 15 Dec 1998 16:12:00 +0000
parents 5156cf8e4269
children bd1ce4120e6f
line wrap: on
line diff
--- a/Python/pythonrun.c	Tue Dec 15 15:35:23 1998 +0000
+++ b/Python/pythonrun.c	Tue Dec 15 16:12:00 1998 +0000
@@ -162,6 +162,10 @@
 		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 @@
 	fflush(stderr);
 }
 
-#ifdef COUNT_ALLOCS
-extern void dump_counts Py_PROTO((void));
-#endif
-
 void
 Py_Exit(sts)
 	int sts;