aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-19 19:27:30 +0000
committerGuido van Rossum <guido@python.org>1997-07-19 19:27:30 +0000
commita847889607d3c0eac572fbd2e9003b58f332e357 (patch)
tree7bfeb1c2f4445474ecca8c7260fd88e565d20f5e /Include/ceval.h
parentGot rid of "suppres printing" flag. (diff)
downloadcpython-a847889607d3c0eac572fbd2e9003b58f332e357.tar.gz
cpython-a847889607d3c0eac572fbd2e9003b58f332e357.tar.bz2
cpython-a847889607d3c0eac572fbd2e9003b58f332e357.zip
Moved PyEval_InitThreads to inside WITH_THREAD, where it belongs.
Diffstat (limited to 'Include/ceval.h')
-rw-r--r--Include/ceval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h
index 2336ed31f45..cc4c4d8fc10 100644
--- a/Include/ceval.h
+++ b/Include/ceval.h
@@ -99,12 +99,12 @@ int Py_MakePendingCalls Py_PROTO((void));
mechanism!
*/
-extern void PyEval_InitThreads Py_PROTO((void));
extern PyThreadState *PyEval_SaveThread Py_PROTO((void));
extern void PyEval_RestoreThread Py_PROTO((PyThreadState *));
#ifdef WITH_THREAD
+extern void PyEval_InitThreads Py_PROTO((void));
extern void PyEval_AcquireThread Py_PROTO((PyThreadState *tstate));
extern void PyEval_ReleaseThread Py_PROTO((PyThreadState *tstate));