mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
* 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.
This commit is contained in:
parent
349f2b516b
commit
a2b7f40513
6 changed files with 47 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue