summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-12-15 16:12:00 +0000
committerGuido van Rossum <guido@python.org>1998-12-15 16:12:00 +0000
commite87e687ea30690a7199c0d1b3cbbfc226508d53e (patch)
treef6c1feded0de8e4f9a4424b29facdf37897d834a /Python/pythonrun.c
parent112339fe17bc7e4e698649d70ea867b836b5f3bb (diff)
downloadcpython-e87e687ea30690a7199c0d1b3cbbfc226508d53e.tar.gz
Move the prototype for dump_counts() to before where it is used.
(This only applies when COUNT_ALLOCS is defined.)
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 1e26efcc71..cb6230a94e 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;