diff options
| author | Collin Funk <collin.funk1@gmail.com> | 2024-07-02 17:29:57 -0700 |
|---|---|---|
| committer | Reuben Thomas <rrt@sc3d.org> | 2024-07-03 13:02:06 +0300 |
| commit | dfb8b72bb09128aefdb85f29402e22eca9e1083d (patch) | |
| tree | e67c5d18c11a61e9702adb7582ff0257166acd3b | |
| parent | 667e594a202ad2424dd7bb0eb3d5358c6be05791 (diff) | |
maint: don't use the deprecated stdnoreturn module
* bootstrap.conf (gnulib_modules): Remove stdnoreturn.
* src/hello.c: Don't include <stdnoreturn.h>. Gnulib will define
_Noreturn in <config.h> if the compiler does not support the C11
keyword.
| -rw-r--r-- | bootstrap.conf | 1 | ||||
| -rw-r--r-- | src/hello.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index 2f41186..2f2470e 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -36,7 +36,6 @@ gnulib_modules=" progname propername readme-release - stdnoreturn update-copyright version-etc-fsf wchar diff --git a/src/hello.c b/src/hello.c index e51316d..35151df 100644 --- a/src/hello.c +++ b/src/hello.c @@ -20,7 +20,6 @@ #include <errno.h> #include <error.h> #include <getopt.h> -#include <stdnoreturn.h> #include <wchar.h> #include "system.h" |
