summaryrefslogtreecommitdiffstats
path: root/Modules/_multiprocessing/multiprocessing.h
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2012-10-07 17:08:47 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2012-10-07 17:08:47 (GMT)
commit8fb9f4cf7b4b39ee8f4992d338181377c60d5ddc (patch)
treea286265356a31bac0770c70a80753bcbcd4807a7 /Modules/_multiprocessing/multiprocessing.h
parent81901490a021048dc452c92839016732dc3c2e23 (diff)
downloadcpython-8fb9f4cf7b4b39ee8f4992d338181377c60d5ddc.zip
cpython-8fb9f4cf7b4b39ee8f4992d338181377c60d5ddc.tar.gz
cpython-8fb9f4cf7b4b39ee8f4992d338181377c60d5ddc.tar.bz2
Get rid of circular import and eliminate unprefixed exported symbols
from _multiprocessing.
Diffstat (limited to 'Modules/_multiprocessing/multiprocessing.h')
-rw-r--r--Modules/_multiprocessing/multiprocessing.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/_multiprocessing/multiprocessing.h b/Modules/_multiprocessing/multiprocessing.h
index e3de9ba..0759a80 100644
--- a/Modules/_multiprocessing/multiprocessing.h
+++ b/Modules/_multiprocessing/multiprocessing.h
@@ -91,15 +91,13 @@
#define MP_SOCKET_ERROR (-1002)
#define MP_EXCEPTION_HAS_BEEN_SET (-1003)
-PyObject *mp_SetError(PyObject *Type, int num);
+PyObject *_PyMp_SetError(PyObject *Type, int num);
/*
* Externs - not all will really exist on all platforms
*/
-extern PyObject *BufferTooShort;
-extern PyTypeObject SemLockType;
-extern PyTypeObject PipeConnectionType;
+extern PyTypeObject _PyMp_SemLockType;
/*
* Miscellaneous