diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-06-24 10:39:14 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-06-24 10:39:14 -0700 |
commit | 845ca893904e4664063cb5c121b34925386849f7 (patch) | |
tree | 6d9798a0d167f9e6bb5a2a6dae21c83ad9eb9a74 /src/term.c | |
parent | 696056c280e0e4a03e12d8d53f692c015ff19217 (diff) | |
download | emacs-845ca893904e4664063cb5c121b34925386849f7.tar.gz |
Switch from NO_RETURN to C11's _Noreturn.
Fixes: debbugs:11750
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/term.c b/src/term.c index 1a2524fd297..d58dc2ba878 100644 --- a/src/term.c +++ b/src/term.c @@ -86,11 +86,11 @@ static void clear_tty_hooks (struct terminal *terminal); static void set_tty_hooks (struct terminal *terminal); static void dissociate_if_controlling_tty (int fd); static void delete_tty (struct terminal *); -static void maybe_fatal (int must_succeed, struct terminal *terminal, - const char *str1, const char *str2, ...) - NO_RETURN ATTRIBUTE_FORMAT_PRINTF (3, 5) ATTRIBUTE_FORMAT_PRINTF (4, 5); -static void vfatal (const char *str, va_list ap) - NO_RETURN ATTRIBUTE_FORMAT_PRINTF (1, 0); +static _Noreturn void maybe_fatal (int must_succeed, struct terminal *terminal, + const char *str1, const char *str2, ...) + ATTRIBUTE_FORMAT_PRINTF (3, 5) ATTRIBUTE_FORMAT_PRINTF (4, 5); +static _Noreturn void vfatal (const char *str, va_list ap) + ATTRIBUTE_FORMAT_PRINTF (1, 0); #define OUTPUT(tty, a) \ |