From dbd9ba6a6c19c3d06f5684b3384a934f740038db Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sun, 9 Jul 2000 03:09:57 +0000 Subject: Nuke all remaining occurrences of Py_PROTO and Py_FPROTO. --- Python/sysmodule.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Python/sysmodule.c') diff --git a/Python/sysmodule.c b/Python/sysmodule.c index e0fca9535c..6ba43bd1ee 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -270,7 +270,7 @@ static PyObject * sys_getcounts(self, args) PyObject *self, *args; { - extern PyObject *get_counts Py_PROTO((void)); + extern PyObject *get_counts(void); if (!PyArg_ParseTuple(args, ":getcounts")) return NULL; @@ -280,12 +280,12 @@ sys_getcounts(self, args) #ifdef Py_TRACE_REFS /* Defined in objects.c because it uses static globals if that file */ -extern PyObject *_Py_GetObjects Py_PROTO((PyObject *, PyObject *)); +extern PyObject *_Py_GetObjects(PyObject *, PyObject *); #endif #ifdef DYNAMIC_EXECUTION_PROFILE /* Defined in ceval.c because it uses static globals if that file */ -extern PyObject *_Py_GetDXProfile Py_PROTO((PyObject *, PyObject *)); +extern PyObject *_Py_GetDXProfile(PyObject *, PyObject *); #endif static PyMethodDef sys_methods[] = { @@ -409,7 +409,7 @@ settrace() -- set the global debug tracing function\n\ PyObject * _PySys_Init() { - extern int fclose Py_PROTO((FILE *)); + extern int fclose(FILE *); PyObject *m, *v, *sysdict; PyObject *sysin, *sysout, *syserr; char *s; -- cgit v1.2.1