summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin Funk <collin.funk1@gmail.com>2024-07-02 17:29:57 -0700
committerReuben Thomas <rrt@sc3d.org>2024-07-03 13:02:06 +0300
commitdfb8b72bb09128aefdb85f29402e22eca9e1083d (patch)
treee67c5d18c11a61e9702adb7582ff0257166acd3b
parent667e594a202ad2424dd7bb0eb3d5358c6be05791 (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.conf1
-rw-r--r--src/hello.c1
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"