summary refs log tree commit diff
path: root/bin/1sh/arith_yacc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/1sh/arith_yacc.c')
-rw-r--r--bin/1sh/arith_yacc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/1sh/arith_yacc.c b/bin/1sh/arith_yacc.c
index 08e25ab3..57285831 100644
--- a/bin/1sh/arith_yacc.c
+++ b/bin/1sh/arith_yacc.c
@@ -86,7 +86,7 @@ static const char prec[ARITH_BINOP_MAX - ARITH_BINOP_MIN] = {
 
 int letcmd(int, char **);
 
-static __dead2 void yyerror(const char *s)
+static __attribute__((noreturn)) void yyerror(const char *s)
 {
 	error("arithmetic expression: %s: \"%s\"", s, arith_startbuf);
 	/* NOTREACHED */