diff options
author | Guido van Rossum <guido@python.org> | 1993-01-04 09:09:59 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-01-04 09:09:59 +0000 |
commit | 5f4db3e8b8d63957e4d9b0c3036736c3f49923e6 (patch) | |
tree | a49810320cbb0291ed16424b8d7ca980b5c2b1b1 /Objects/listobject.c | |
parent | bb056e0cf050e60f9fd6a938922495a83c64ae91 (diff) | |
download | cpython-5f4db3e8b8d63957e4d9b0c3036736c3f49923e6.tar.gz |
* Configure.py: use #!/usr/local/bin/python
* posixmodule.c: move extern function declarations to top
* listobject.c: cmp() arguments must be void* if __STDC__
* Makefile, allobjects.h, panelmodule.c, modsupport.c: get rid of
strdup() -- it is a portability risk
* Makefile: enclosed ranlib command in parentheses for Sequent Make
which aborts if the command is not found even if '-' is present
* timemodule.c: time() returns a floating point number, in microsecond
precision if BSD_TIME is defined.
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r-- | Objects/listobject.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c index d403a5e329..d7d140f513 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -479,7 +479,11 @@ static object *cmpfunc; static int cmp(v, w) +#ifdef __STDC__ + void *v, *w; +#else char *v, *w; +#endif { object *t, *res; long i; |