summaryrefslogtreecommitdiff
path: root/Modules/pcremodule.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/pcremodule.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/pcremodule.c')
-rw-r--r--Modules/pcremodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pcremodule.c b/Modules/pcremodule.c
index 99c67583af..3043405b08 100644
--- a/Modules/pcremodule.c
+++ b/Modules/pcremodule.c
@@ -629,7 +629,7 @@ insint(PyObject *d, char *name, int value)
/* Initialization function for the module (*must* be called initpcre) */
DL_EXPORT(void)
-initpcre()
+initpcre(void)
{
PyObject *m, *d;