From 59943ba718c7181186ccfd0c3529ac38ebd0f1f4 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 20 May 1997 22:07:46 +0000 Subject: [PATCH] Added Py_PROTO macros for SunOS 4.x /bin/cc. --- Include/pystate.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Include/pystate.h b/Include/pystate.h index 514c46d2d5..b660ff881b 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. -- 2.50.1