projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38b92eb
)
Move the prototype for dump_counts() to before where it is used.
author
Guido van Rossum
<guido@python.org>
Tue, 15 Dec 1998 16:12:00 +0000
(16:12 +0000)
committer
Guido 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
patch
|
blob
|
history
diff --git
a/Python/pythonrun.c
b/Python/pythonrun.c
index 1e26efcc712ea53d3921c9b42785b2610a94251c..cb6230a94eb1cab281cd5e6146c9a245da5b5cbc 100644
(file)
--- 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;