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/parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/1sh/parser.c') diff --git a/bin/1sh/parser.c b/bin/1sh/parser.c index a6f976ed..b2f761c8 100644 --- a/bin/1sh/parser.c +++ b/bin/1sh/parser.c @@ -126,8 +126,8 @@ static int xxreadtoken(void); static int readtoken1(int, const char *, const char *, int); static int noexpand(char *); static void consumetoken(int); -static void synexpect(int) __dead2; -static void synerror(const char *) __dead2; +static void synexpect(int) __attribute__((noreturn)); +static void synerror(const char *) __attribute__((noreturn)); static void setprompt(int); static char *expandprompt(const char *); static int pgetc_linecont(void); -- cgit 1.4.1