summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-20 22:23:34 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-20 22:23:34 (GMT)
commitf9cba090f92e2fcd25e52c0ddffa030b83ca9bbf (patch)
treeec19380a02aa5f7d95d0f7cc5adb25d5303d6d9d
parent2f75b29630787fbec2aa1e2ec9d02180b7b0903f (diff)
downloadcpython-f9cba090f92e2fcd25e52c0ddffa030b83ca9bbf.zip
cpython-f9cba090f92e2fcd25e52c0ddffa030b83ca9bbf.tar.gz
cpython-f9cba090f92e2fcd25e52c0ddffa030b83ca9bbf.tar.bz2
Don't use function prototypes in function definition headers.
-rw-r--r--Python/pystate.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 7ce499a..857931e 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -52,7 +52,8 @@ PyInterpreterState_New()
void
-PyInterpreterState_Delete(PyInterpreterState *interp)
+PyInterpreterState_Delete(interp)
+ PyInterpreterState *interp;
{
Py_XDECREF(interp->import_modules);
Py_XDECREF(interp->sysdict);
@@ -62,7 +63,8 @@ PyInterpreterState_Delete(PyInterpreterState *interp)
PyThreadState *
-PyThreadState_New(PyInterpreterState *interp)
+PyThreadState_New(interp)
+ PyInterpreterState *interp;
{
PyThreadState *tstate = PyMem_NEW(PyThreadState, 1);
/* fprintf(stderr, "new tstate -> %p\n", tstate); */
@@ -93,7 +95,8 @@ PyThreadState_New(PyInterpreterState *interp)
void
-PyThreadState_Delete(PyThreadState *tstate)
+PyThreadState_Delete(tstate)
+ PyThreadState *tstate;
{
/* fprintf(stderr, "delete tstate %p\n", tstate); */
if (tstate == current_tstate)
@@ -126,7 +129,8 @@ PyThreadState_Get()
PyThreadState *
-PyThreadState_Swap(PyThreadState *new)
+PyThreadState_Swap(new)
+ PyThreadState *new;
{
PyThreadState *old = current_tstate;
/* fprintf(stderr, "swap tstate new=%p <--> old=%p\n", new, old); */