summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-01-04 09:09:59 (GMT)
committerGuido van Rossum <guido@python.org>1993-01-04 09:09:59 (GMT)
commita2b7f40513ba5d75a2063c3fabe47377cd8c0416 (patch)
treea49810320cbb0291ed16424b8d7ca980b5c2b1b1 /Objects
parent349f2b516b89c46f915a57029ed2bd33f85ff363 (diff)
downloadcpython-a2b7f40513ba5d75a2063c3fabe47377cd8c0416.zip
cpython-a2b7f40513ba5d75a2063c3fabe47377cd8c0416.tar.gz
cpython-a2b7f40513ba5d75a2063c3fabe47377cd8c0416.tar.bz2
* 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')
-rw-r--r--Objects/listobject.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index d403a5e..d7d140f 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;