summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-19 19:27:30 (GMT)
committerGuido van Rossum <guido@python.org>1997-07-19 19:27:30 (GMT)
commita847889607d3c0eac572fbd2e9003b58f332e357 (patch)
tree7bfeb1c2f4445474ecca8c7260fd88e565d20f5e /Include
parente6fb2043ce251dff78054fd14e8f5d8b8c2ad0ea (diff)
downloadcpython-a847889607d3c0eac572fbd2e9003b58f332e357.zip
cpython-a847889607d3c0eac572fbd2e9003b58f332e357.tar.gz
cpython-a847889607d3c0eac572fbd2e9003b58f332e357.tar.bz2
Moved PyEval_InitThreads to inside WITH_THREAD, where it belongs.
Diffstat (limited to 'Include')
-rw-r--r--Include/ceval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h
index 2336ed3..cc4c4d8 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));