summaryrefslogtreecommitdiff
path: root/Modules/timingmodule.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-21 06:00:07 +0000
committerThomas Wouters <thomas@python.org>2000-07-21 06:00:07 +0000
commit4547bea321e78fda6bffa2315b8845e3e7bf69b8 (patch)
tree974781f9ced437bc7eec958633890de548197707 /Modules/timingmodule.c
parent80253be245fb6b67544d0d0c467df6037f06e39d (diff)
downloadcpython-4547bea321e78fda6bffa2315b8845e3e7bf69b8.tar.gz
Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',
and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
Diffstat (limited to 'Modules/timingmodule.c')
-rw-r--r--Modules/timingmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/timingmodule.c b/Modules/timingmodule.c
index f7323bb565..07420053d6 100644
--- a/Modules/timingmodule.c
+++ b/Modules/timingmodule.c
@@ -69,7 +69,7 @@ static PyMethodDef timing_methods[] = {
};
-DL_EXPORT(void) inittiming()
+DL_EXPORT(void) inittiming(void)
{
(void)Py_InitModule("timing", timing_methods);
if (PyErr_Occurred())