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/arraymodule.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/arraymodule.c')
| -rw-r--r-- | Modules/arraymodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 10c8f57e7c..55a0dce0df 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -1407,7 +1407,7 @@ statichere PyTypeObject Arraytype = { }; DL_EXPORT(void) -initarray() +initarray(void) { PyObject *m, *d; |
