diff options
author | imp <imp@FreeBSD.org> | 1999-04-25 21:13:34 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1999-04-25 21:13:34 +0000 |
commit | 321c551969cc862a859c9e79c8404af90c94e81d (patch) | |
tree | 5ede02d61e978d083db7e7833d1560584b758dc1 /bin/csh/lex.c | |
parent | 4be4456eab17cc243bba5d62ce59ba675507482b (diff) | |
download | FreeBSD-src-321c551969cc862a859c9e79c8404af90c94e81d.zip FreeBSD-src-321c551969cc862a859c9e79c8404af90c94e81d.tar.gz |
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
Diffstat (limited to 'bin/csh/lex.c')
-rw-r--r-- | bin/csh/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
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') { |