diff Objects/listobject.c @ 1177:533e36de1e4d legacy-trunk

* 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.
author Guido van Rossum <guido@python.org>
date Mon, 04 Jan 1993 09:09:59 +0000
parents f54e64c8b9b7
children 2937897a7d8b
line wrap: on
line diff
--- a/Objects/listobject.c	Thu Dec 24 11:41:14 1992 +0000
+++ b/Objects/listobject.c	Mon Jan 04 09:09:59 1993 +0000
@@ -479,7 +479,11 @@
 
 static int
 cmp(v, w)
+#ifdef __STDC__
+	void *v, *w;
+#else
 	char *v, *w;
+#endif
 {
 	object *t, *res;
 	long i;