summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-03-27 17:29:44 (GMT)
committerGuido van Rossum <guido@python.org>1992-03-27 17:29:44 (GMT)
commitdf840d911ff204aa225a1bc5313709211dbdf383 (patch)
tree51ebbce94078400bea08ca5f611824a61f425b13
parent704a26c5f38803ba5f2aa3c57cdfe9a06a6335e5 (diff)
downloadcpython-df840d911ff204aa225a1bc5313709211dbdf383.zip
cpython-df840d911ff204aa225a1bc5313709211dbdf383.tar.gz
cpython-df840d911ff204aa225a1bc5313709211dbdf383.tar.bz2
lint
-rw-r--r--Modules/mathmodule.c2
-rw-r--r--Parser/intrcheck.c3
-rw-r--r--Python/bltinmodule.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index e6decaa..76bfba2 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -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
diff --git a/Parser/intrcheck.c b/Parser/intrcheck.c
index a3db360..5162e25 100644
--- a/Parser/intrcheck.c
+++ b/Parser/intrcheck.c
@@ -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);
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 324ecb0..efeabcc 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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();