summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.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 /Modules/timemodule.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 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c10
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);