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/sh/arith_lex.l | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/sh/arith_lex.l') diff --git a/bin/sh/arith_lex.l b/bin/sh/arith_lex.l index b5ca746..ef29c12 100644 --- a/bin/sh/arith_lex.l +++ b/bin/sh/arith_lex.l @@ -34,7 +34,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: arith_lex.l,v 1.11 1998/08/24 10:20:36 cracauer Exp $ + * $Id: arith_lex.l,v 1.12 1998/08/25 09:33:34 cracauer Exp $ */ #ifndef lint @@ -42,14 +42,14 @@ static char sccsid[] = "@(#)arith_lex.l 8.3 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id$"; + "$Id: arith_lex.l,v 1.12 1998/08/25 09:33:34 cracauer Exp $"; #endif /* not lint */ #include #include "y.tab.h" #include "error.h" -extern yylval; +extern int yylval; extern char *arith_buf, *arith_startbuf; #undef YY_INPUT #define YY_INPUT(buf,result,max) \ -- cgit v1.1