summaryrefslogtreecommitdiffstats
path: root/Objects/cobject.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-07-09 03:09:57 (GMT)
committerTim Peters <tim.peters@gmail.com>2000-07-09 03:09:57 (GMT)
commitdbd9ba6a6c19c3d06f5684b3384a934f740038db (patch)
tree3a2728dbc98c86a0af47d7692cb8bdd2ee41afca /Objects/cobject.c
parent4be47c0f76c349ee9c04b08ed122c8bd8190d2c5 (diff)
downloadcpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.zip
cpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.tar.gz
cpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.tar.bz2
Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
Diffstat (limited to 'Objects/cobject.c')
-rw-r--r--Objects/cobject.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Objects/cobject.c b/Objects/cobject.c
index b184acb..06c29f0 100644
--- a/Objects/cobject.c
+++ b/Objects/cobject.c
@@ -15,20 +15,20 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
/* Declarations for objects of type PyCObject */
-typedef void (*destructor1) Py_PROTO((void *));
-typedef void (*destructor2) Py_PROTO((void *, void*));
+typedef void (*destructor1)(void *);
+typedef void (*destructor2)(void *, void*);
typedef struct {
PyObject_HEAD
void *cobject;
void *desc;
- void (*destructor) Py_PROTO((void *));
+ void (*destructor)(void *);
} PyCObject;
PyObject *
PyCObject_FromVoidPtr(cobj, destr)
void *cobj;
- void (*destr) Py_PROTO((void *));
+ void (*destr)(void *);
{
PyCObject *self;
@@ -45,7 +45,7 @@ PyObject *
PyCObject_FromVoidPtrAndDesc(cobj, desc, destr)
void *cobj;
void *desc;
- void (*destr) Py_PROTO((void *, void *));
+ void (*destr)(void *, void *);
{
PyCObject *self;