diff options
author | Tim Peters <tim.peters@gmail.com> | 2000-07-09 03:09:57 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2000-07-09 03:09:57 (GMT) |
commit | dbd9ba6a6c19c3d06f5684b3384a934f740038db (patch) | |
tree | 3a2728dbc98c86a0af47d7692cb8bdd2ee41afca /Objects/fileobject.c | |
parent | 4be47c0f76c349ee9c04b08ed122c8bd8190d2c5 (diff) | |
download | cpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.zip cpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.tar.gz cpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.tar.bz2 |
Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r-- | Objects/fileobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 7247ff8..bf4aed4 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -69,7 +69,7 @@ typedef struct { FILE *f_fp; PyObject *f_name; PyObject *f_mode; - int (*f_close) Py_PROTO((FILE *)); + int (*f_close)(FILE *); int f_softspace; /* Flag used by 'print' command */ int f_binary; /* Flag which indicates whether the file is open open in binary (1) or test (0) mode */ @@ -100,7 +100,7 @@ PyFile_FromFile(fp, name, mode, close) FILE *fp; char *name; char *mode; - int (*close) Py_FPROTO((FILE *)); + int (*close)(FILE *); { PyFileObject *f = PyObject_NEW(PyFileObject, &PyFile_Type); if (f == NULL) @@ -126,7 +126,7 @@ PyObject * PyFile_FromString(name, mode) char *name, *mode; { - extern int fclose Py_PROTO((FILE *)); + extern int fclose(FILE *); PyFileObject *f; f = (PyFileObject *) PyFile_FromFile((FILE *)NULL, name, mode, fclose); if (f == NULL) |