]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
lint
authorGuido van Rossum <guido@python.org>
Fri, 27 Mar 1992 17:29:44 +0000 (17:29 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 27 Mar 1992 17:29:44 +0000 (17:29 +0000)
Modules/mathmodule.c
Parser/intrcheck.c
Python/bltinmodule.c

index e6decaa0a839fe07911d9b74d4f8047cc73c60f4..76bfba2486fa05a40ebe50567a236ddf999b99e1 100644 (file)
@@ -36,7 +36,7 @@ extern int errno;
 #include <math.h>
 
 #ifndef __STDC__
-extern double fmod();
+extern double fmod PROTO((double, double));
 #endif
 
 #ifdef HUGE_VAL
index a3db360dce6012312c71eea054ddbce5ae2e162e..5162e25376b4d01468f292d61a384bd924f30ace 100644 (file)
@@ -126,9 +126,10 @@ intrcheck()
 
 static int interrupted;
 
+/* ARGSUSED */
 static SIGTYPE
 intcatcher(sig)
-       int sig;
+       int sig; /* Not used by required by interface */
 {
        interrupted = 1;
        signal(SIGINT, intcatcher);
index 324ecb071a99df6fa30600b3fbc0b769b8b283e6..efeabcc1a4e3883adea4fa3b673bb233c9da1604 100644 (file)
@@ -315,8 +315,6 @@ builtin_input(self, v)
 {
        FILE *in = sysgetfile("stdin", stdin);
        FILE *out = sysgetfile("stdout", stdout);
-       node *n;
-       int err;
        int c;
        object *m, *d;
        flushline();