summaryrefslogtreecommitdiffstats
path: root/Objects/fileobject.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/fileobject.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/fileobject.c')
-rw-r--r--Objects/fileobject.c6
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)