Mercurial > cpython-lru_cache-weakref
diff Modules/timingmodule.c @ 13500:d9cc620ff186 legacy-trunk
ANSI-fication
| author | Peter Schneider-Kamp <nowonder@nowonder.de> |
|---|---|
| date | Mon, 10 Jul 2000 12:04:18 +0000 |
| parents | 38023a425e48 |
| children | 8a063423e0b7 |
line wrap: on
line diff
--- a/Modules/timingmodule.c Mon Jul 10 11:56:03 2000 +0000 +++ b/Modules/timingmodule.c Mon Jul 10 12:04:18 2000 +0000 @@ -8,9 +8,7 @@ #include "timing.h" static PyObject * -start_timing(self, args) - PyObject *self; - PyObject *args; +start_timing(PyObject *self, PyObject *args) { if (!PyArg_Parse(args, "")) return NULL; @@ -21,9 +19,7 @@ } static PyObject * -finish_timing(self, args) - PyObject *self; - PyObject *args; +finish_timing(PyObject *self, PyObject *args) { if (!PyArg_Parse(args, "")) return NULL; @@ -34,9 +30,7 @@ } static PyObject * -seconds(self, args) - PyObject *self; - PyObject *args; +seconds(PyObject *self, PyObject *args) { if (!PyArg_Parse(args, "")) return NULL; @@ -46,9 +40,7 @@ } static PyObject * -milli(self, args) - PyObject *self; - PyObject *args; +milli(PyObject *self, PyObject *args) { if (!PyArg_Parse(args, "")) return NULL; @@ -57,9 +49,7 @@ } static PyObject * -micro(self, args) - PyObject *self; - PyObject *args; +micro(PyObject *self, PyObject *args) { if (!PyArg_Parse(args, "")) return NULL;
