From 321c551969cc862a859c9e79c8404af90c94e81d Mon Sep 17 00:00:00 2001 From: imp Date: Sun, 25 Apr 1999 21:13:34 +0000 Subject: First set of fixes to keep egcs happy. These include {} around single statement if blocks[*] when the else could be ambiguous, not defaulting to int type and removal of some unused variables. [*] This is explicitly allowed by style(9) when the single statement spans more than one line. Reviewed by: obrien, chuckr --- bin/csh/lex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/csh/lex.c') diff --git a/bin/csh/lex.c b/bin/csh/lex.c index 3ec0425..56acc41 100644 --- a/bin/csh/lex.c +++ b/bin/csh/lex.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)lex.c 8.1 (Berkeley) 5/31/93"; #else static const char rcsid[] = - "$Id: lex.c,v 1.9 1998/05/06 06:50:52 charnier Exp $"; + "$Id: lex.c,v 1.10 1998/05/13 07:29:05 charnier Exp $"; #endif #endif /* not lint */ @@ -1328,7 +1328,7 @@ readc(wanteof) bool wanteof; { int c; - static sincereal; + static int sincereal; aret = F_SEEK; if ((c = peekread) != '\0') { -- cgit v1.1