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 | 3177ae700a2ba82ef2282ddc5404d8de8646cd57 (patch) | |
tree | ff48920e981a92b37d9281f636d9dbe0fa451532 /bin/1sh/arith_yacc.c | |
parent | Replace __FBSDID macros with comments (diff) | |
download | src-3177ae700a2ba82ef2282ddc5404d8de8646cd57.tar.gz src-3177ae700a2ba82ef2282ddc5404d8de8646cd57.zip |
Replace __dead2 with __attribute__((noreturn))
sed 's/__dead2/__attribute__((noreturn))/'
Diffstat (limited to 'bin/1sh/arith_yacc.c')
-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 */ |