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 /Modules/timemodule.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 'Modules/timemodule.c')
-rw-r--r-- | Modules/timemodule.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index 984980c..855863b 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -90,8 +90,8 @@ extern int ftime(); #endif /* Forward declarations */ -static int floatsleep Py_PROTO((double)); -static double floattime Py_PROTO(()); +static int floatsleep(double); +static double floattime(); /* For Y2K check */ static PyObject *moddict; @@ -255,7 +255,7 @@ tmtotuple(p) static PyObject * time_convert(when, function) time_t when; - struct tm * (*function) Py_PROTO((const time_t *)); + struct tm * (*function)(const time_t *); { struct tm *p; errno = 0; @@ -786,8 +786,8 @@ floatsleep(double secs) #ifdef MSDOS struct timeb t1, t2; double frac; - extern double fmod Py_PROTO((double, double)); - extern double floor Py_PROTO((double)); + extern double fmod(double, double); + extern double floor(double); if (secs <= 0.0) return; frac = fmod(secs, 1.0); |