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. --- Objects/classobject.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Objects/classobject.c') diff --git a/Objects/classobject.c b/Objects/classobject.c index 0e1308bbc0..3192ddd0c0 100644 --- a/Objects/classobject.c +++ b/Objects/classobject.c @@ -14,10 +14,10 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. #include "structmember.h" /* Forward */ -static PyObject *class_lookup - Py_PROTO((PyClassObject *, PyObject *, PyClassObject **)); -static PyObject *instance_getattr1 Py_PROTO((PyInstanceObject *, PyObject *)); -static PyObject *instance_getattr2 Py_PROTO((PyInstanceObject *, PyObject *)); +static PyObject *class_lookup(PyClassObject *, PyObject *, + PyClassObject **); +static PyObject *instance_getattr1(PyInstanceObject *, PyObject *); +static PyObject *instance_getattr2(PyInstanceObject *, PyObject *); static PyObject *getattrstr, *setattrstr, *delattrstr; @@ -1203,8 +1203,8 @@ generic_unary_op(self, methodname) /* Forward */ -static int halfbinop Py_PROTO((PyObject *, PyObject *, char *, PyObject **, - PyObject * (*) Py_PROTO((PyObject *, PyObject *)), int )); +static int halfbinop(PyObject *, PyObject *, char *, PyObject **, + PyObject * (*)(PyObject *, PyObject *), int); /* Implement a binary operator involving at least one class instance. */ @@ -1215,7 +1215,7 @@ PyInstance_DoBinOp(v, w, opname, ropname, thisfunc) PyObject *w; char *opname; char *ropname; - PyObject * (*thisfunc) Py_PROTO((PyObject *, PyObject *)); + PyObject * (*thisfunc)(PyObject *, PyObject *); { char buf[256]; PyObject *result = NULL; @@ -1249,7 +1249,7 @@ halfbinop(v, w, opname, r_result, thisfunc, swapped) PyObject *w; char *opname; PyObject **r_result; - PyObject * (*thisfunc) Py_PROTO((PyObject *, PyObject *)); + PyObject * (*thisfunc)(PyObject *, PyObject *); int swapped; { PyObject *func; -- cgit v1.2.1