summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-11-23 17:53:17 +0000
committerGuido van Rossum <guido@python.org>1993-11-23 17:53:17 +0000
commitb376a4ad1848d1319245f440c85ef265e1fef401 (patch)
treedc431ee0a195eb95dacec0edd25fdc1f1b7edd8e /Python
parent83eb962528e61dadd75cfc38e0aa6469d91d1a66 (diff)
downloadcpython-git-b376a4ad1848d1319245f440c85ef265e1fef401.tar.gz
* timemodule.c: Add hack for Solaris 2.
* posixmodule.c: don't prototype getcwd() -- it's not portable... * mappingobject.c: double-check validity of last_name_char in dict{lookup,insert,remove}. * arraymodule.c: need memmove only for non-STDC Suns. * Makefile: comment out HTML_LIBS and XT_USE by default * pythonmain.c: don't prototype getopt() -- it's not standardized * socketmodule.c: cast flags arg to {get,set}sockopt() and addrbuf arg to recvfrom() to (ANY*). * pythonrun.c (initsigs): fix prototype, make it static * intobject.c (LONG_BIT): only #define it if not already defined * classobject.[ch]: remove all references to unused instance_convert() * mappingobject.c (getmappingsize): Don't return NULL in int function.
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonmain.c2
-rw-r--r--Python/pythonrun.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Python/pythonmain.c b/Python/pythonmain.c
index ac1d86a1be..48ccd38309 100644
--- a/Python/pythonmain.c
+++ b/Python/pythonmain.c
@@ -33,7 +33,7 @@ extern int killprint; /* Defined in ceval.c */
/* Interface to getopt(): */
extern int optind;
extern char *optarg;
-extern int getopt PROTO((int, char **, char *));
+extern int getopt(); /* PROTO((int, char **, char *)); -- not standardized */
extern char *getenv();
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 56254ac285..ac7e0400a0 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -58,7 +58,7 @@ static object *run_node PROTO((node *n, char *filename,
object *globals, object *locals));
static object *eval_node PROTO((node *n, char *filename,
object *globals, object *locals));
-void initsigs PROTO(());
+static void initsigs PROTO((void));
int debugging; /* Needed by parser.c */
int verbose; /* Needed by import.c */