From 6b5a2730a5d1f658e027af0028bd06bf1a956212 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Thu, 23 May 2019 11:38:25 -0500 Subject: bin/expr: make less incompatible with Linux --- bin/expr/expr.y | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'bin') diff --git a/bin/expr/expr.y b/bin/expr/expr.y index 2bc4ad1..e9b6212 100644 --- a/bin/expr/expr.y +++ b/bin/expr/expr.y @@ -30,11 +30,6 @@ */ %{ -#include -#ifndef lint -__RCSID("$NetBSD: expr.y,v 1.45 2018/06/27 17:23:36 kamil Exp $"); -#endif /* not lint */ - #include #include @@ -45,11 +40,12 @@ __RCSID("$NetBSD: expr.y,v 1.45 2018/06/27 17:23:36 kamil Exp $"); #include #include #include +#include #include static const char * const *av; -static void yyerror(const char *, ...) __dead; +static void yyerror(const char *, ...); static int yylex(void); static int is_zero_or_null(const char *); static int is_integer(const char *); -- cgit v1.2.3-60-g2f50