Project Info Name.......: gnu-hello
Description: GNU Hello


gnu-hello       
Info
Commit...:dfb8b72bb09128aefdb85f29402e22eca9e1083d
Author...:Collin Funk
Committer:Reuben Thomas
Date.....:Tue Jul 2 17:29:57 2024 -0700
Parents..:667e594a202ad2424dd7bb0eb3d5358c6be05791

Message
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.

Changes
diff --git a/bootstrap.conf b/bootstrap.conf
line changes: +0/-1
index 2f41186..2f2470e
--- 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
line changes: +0/-1
index e51316d..35151df
--- 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"

This website is licensed under AGPL-3.0. Feel free to copy!