diff options
author | Colin Watson <cjwatson@debian.org> | 2019-08-24 00:20:53 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-08-24 00:20:53 +0100 |
commit | 90848b059b0cb2dc1d1f257e7dd2b9d745b83e35 (patch) | |
tree | 04595ff1159d9dff6160ca845c885fae0430f746 /include | |
parent | 1cc0bc58005c932bd32bcab7954cf141ec52580e (diff) |
Use C11/Gnulib's _Noreturn
* lib/cleanup.c (sighandler): Declare as _Noreturn.
* src/man.c (gripe_converting_name): Use _Noreturn rather than
ATTRIBUTE_NORETURN.
* include/manconfig.h.in (ATTRIBUTE_NORETURN): Remove.
Diffstat (limited to 'include')
-rw-r--r-- | include/manconfig.h.in | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/manconfig.h.in b/include/manconfig.h.in index 163d5717..9281f1c2 100644 --- a/include/manconfig.h.in +++ b/include/manconfig.h.in @@ -261,13 +261,6 @@ # define ATTRIBUTE_UNUSED #endif -/* Does this compiler support marking functions as non-returning? */ -#if GNUC_PREREQ(2,5) -# define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) -#else -# define ATTRIBUTE_NORETURN -#endif - /* Does this compiler support malloc return checking? */ #if GNUC_PREREQ(2,96) # define ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) |