summaryrefslogtreecommitdiffstats
path: root/Python/marshal.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 /Python/marshal.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 'Python/marshal.c')
-rw-r--r--Python/marshal.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index 8fcbe3a..78fe624 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -171,8 +171,7 @@ w_object(v, p)
w_short(ob->ob_digit[i], p);
}
else if (PyFloat_Check(v)) {
- extern void PyFloat_AsString
- Py_PROTO((char *, PyFloatObject *));
+ extern void PyFloat_AsString(char *, PyFloatObject *);
char buf[256]; /* Plenty to format any double */
PyFloat_AsString(buf, (PyFloatObject *)v);
n = strlen(buf);
@@ -182,8 +181,7 @@ w_object(v, p)
}
#ifndef WITHOUT_COMPLEX
else if (PyComplex_Check(v)) {
- extern void PyFloat_AsString
- Py_PROTO((char *, PyFloatObject *));
+ extern void PyFloat_AsString(char *, PyFloatObject *);
char buf[256]; /* Plenty to format any double */
PyFloatObject *temp;
w_byte(TYPE_COMPLEX, p);
@@ -438,7 +436,7 @@ r_object(p)
case TYPE_FLOAT:
{
- extern double atof Py_PROTO((const char *));
+ extern double atof(const char *);
char buf[256];
double dx;
n = r_byte(p);
@@ -457,7 +455,7 @@ r_object(p)
#ifndef WITHOUT_COMPLEX
case TYPE_COMPLEX:
{
- extern double atof Py_PROTO((const char *));
+ extern double atof(const char *);
char buf[256];
Py_complex c;
n = r_byte(p);