summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-20 22:07:46 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-20 22:07:46 (GMT)
commit59943ba718c7181186ccfd0c3529ac38ebd0f1f4 (patch)
tree4e286d72c469f5870423394804e14e548f3ed4e7 /Include
parent462d6e6484626ff8b7a79e43f3d6c64e0120bdf9 (diff)
downloadcpython-59943ba718c7181186ccfd0c3529ac38ebd0f1f4.zip
cpython-59943ba718c7181186ccfd0c3529ac38ebd0f1f4.tar.gz
cpython-59943ba718c7181186ccfd0c3529ac38ebd0f1f4.tar.bz2
Added Py_PROTO macros for SunOS 4.x /bin/cc.
Diffstat (limited to 'Include')
-rw-r--r--Include/pystate.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Include/pystate.h b/Include/pystate.h
index 514c46d..b660ff8 100644
--- a/Include/pystate.h
+++ b/Include/pystate.h
@@ -91,14 +91,14 @@ typedef struct _ts {
} PyThreadState;
-PyInterpreterState *PyInterpreterState_New(void);
-void PyInterpreterState_Delete(PyInterpreterState *);
+PyInterpreterState *PyInterpreterState_New Py_PROTO((void));
+void PyInterpreterState_Delete Py_PROTO((PyInterpreterState *));
-PyThreadState *PyThreadState_New(PyInterpreterState *);
-void PyThreadState_Delete(PyThreadState *);
+PyThreadState *PyThreadState_New Py_PROTO((PyInterpreterState *));
+void PyThreadState_Delete Py_PROTO((PyThreadState *));
-PyThreadState *PyThreadState_Get(void);
-PyThreadState *PyThreadState_Swap(PyThreadState *);
+PyThreadState *PyThreadState_Get Py_PROTO((void));
+PyThreadState *PyThreadState_Swap Py_PROTO((PyThreadState *));
/* Some background.