diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-21 06:00:07 +0000 |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-21 06:00:07 +0000 |
commit | 4547bea321e78fda6bffa2315b8845e3e7bf69b8 (patch) | |
tree | 974781f9ced437bc7eec958633890de548197707 /Modules/operator.c | |
parent | 80253be245fb6b67544d0d0c467df6037f06e39d (diff) | |
download | cpython-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/operator.c')
-rw-r--r-- | Modules/operator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/operator.c b/Modules/operator.c index 46e5b516a1..b8bab5984f 100644 --- a/Modules/operator.c +++ b/Modules/operator.c @@ -247,7 +247,7 @@ spam2(delslice,__delslice__, /* Initialization function for the module (*must* be called initoperator) */ DL_EXPORT(void) -initoperator() +initoperator(void) { /* Create the module and add the functions */ Py_InitModule4("operator", operator_methods, operator_doc, |