diff options
author | June McEnroe <june@causal.agency> | 2020-06-07 16:26:50 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-06-08 16:46:02 -0400 |
commit | fa1213d90bf20067433737abb0f4880e8db349ed (patch) | |
tree | d5e530f07fffee3fa41bee1ef621919b9a191643 /bin/1sh/arith_yacc.c | |
parent | Replace __FBSDID macros with comments (diff) | |
download | src-fa1213d90bf20067433737abb0f4880e8db349ed.tar.gz src-fa1213d90bf20067433737abb0f4880e8db349ed.zip |
Replace __dead2 with __attribute__((noreturn))
sed 's/__dead2/__attribute__((noreturn))/'
Diffstat (limited to '')
-rw-r--r-- | bin/1sh/arith_yacc.c | 2 |
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 */ |