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/error.h | |
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 'bin/1sh/error.h')
-rw-r--r-- | bin/1sh/error.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/1sh/error.h b/bin/1sh/error.h index b6d6b413..964d98e8 100644 --- a/bin/1sh/error.h +++ b/bin/1sh/error.h @@ -79,11 +79,11 @@ extern volatile sig_atomic_t intpending; #define CLEAR_PENDING_INT intpending = 0 #define int_pending() intpending -void exraise(int) __dead2; -void onint(void) __dead2; +void exraise(int) __attribute__((noreturn)); +void onint(void) __attribute__((noreturn)); void warning(const char *, ...) __printflike(1, 2); -void error(const char *, ...) __printf0like(1, 2) __dead2; -void exerror(int, const char *, ...) __printf0like(2, 3) __dead2; +void error(const char *, ...) __printf0like(1, 2) __attribute__((noreturn)); +void exerror(int, const char *, ...) __printf0like(2, 3) __attribute__((noreturn)); /* |