summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();