summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/expr/expr.y8
1 files changed, 2 insertions, 6 deletions
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 <sys/cdefs.h>
-#ifndef lint
-__RCSID("$NetBSD: expr.y,v 1.45 2018/06/27 17:23:36 kamil Exp $");
-#endif /* not lint */
-
#include <sys/types.h>
#include <err.h>
@@ -45,11 +40,12 @@ __RCSID("$NetBSD: expr.y,v 1.45 2018/06/27 17:23:36 kamil Exp $");
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
+#include <bsd/stdlib.h>
#include <string.h>
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 *);