Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df840d9

Browse files
committed
lint
1 parent 704a26c commit df840d9

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

Modules/mathmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ extern int errno;
3636
#include <math.h>
3737

3838
#ifndef __STDC__
39-
extern double fmod();
39+
extern double fmod PROTO((double, double));
4040
#endif
4141

4242
#ifdef HUGE_VAL

Parser/intrcheck.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,10 @@ intrcheck()
126126

127127
static int interrupted;
128128

129+
/* ARGSUSED */
129130
static SIGTYPE
130131
intcatcher(sig)
131-
int sig;
132+
int sig; /* Not used by required by interface */
132133
{
133134
interrupted = 1;
134135
signal(SIGINT, intcatcher);

Python/bltinmodule.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,6 @@ builtin_input(self, v)
315315
{
316316
FILE *in = sysgetfile("stdin", stdin);
317317
FILE *out = sysgetfile("stdout", stdout);
318-
node *n;
319-
int err;
320318
int c;
321319
object *m, *d;
322320
flushline();

0 commit comments

Comments
 (0)