From 3177ae700a2ba82ef2282ddc5404d8de8646cd57 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 7 Jun 2020 16:26:50 -0400 Subject: Replace __dead2 with __attribute__((noreturn)) sed 's/__dead2/__attribute__((noreturn))/' --- bin/1sh/arith_yacc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/1sh/arith_yacc.c') 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 */ -- cgit 1.4.1