summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-12-27 11:13:05 +0100
committerBruno Haible <bruno@clisp.org>2022-12-27 11:14:04 +0100
commit0455e4cfe51150108c2239380a0f81ba321b4e7c (patch)
treef95e01b2dea81feadabf29be67de4ef9fd669960
parente899c64d9c28b2037593130f79ce144c2c93d814 (diff)
downloadgnulib-0455e4cfe51150108c2239380a0f81ba321b4e7c.tar.gz
stdnoreturn: Mark as deprecated, not obsolete. (Regression 2022-12-24.)
* modules/stdnoreturn (Status): Remove. (Notice): Say that it is deprecated, not obsolete. * doc/noreturn.texi: Fix a typo.
-rw-r--r--ChangeLog7
-rw-r--r--doc/noreturn.texi2
-rw-r--r--modules/stdnoreturn6
3 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index d81bde3f8d..aeacc1dae6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-12-27 Bruno Haible <bruno@clisp.org>
+
+ stdnoreturn: Mark as deprecated, not obsolete. (Regression 2022-12-24.)
+ * modules/stdnoreturn (Status): Remove.
+ (Notice): Say that it is deprecated, not obsolete.
+ * doc/noreturn.texi: Fix a typo.
+
2022-12-26 Paul Eggert <eggert@cs.ucla.edu>
stdbool-c99: fix typo
diff --git a/doc/noreturn.texi b/doc/noreturn.texi
index ad0a286f4a..748d30ab30 100644
--- a/doc/noreturn.texi
+++ b/doc/noreturn.texi
@@ -25,7 +25,7 @@ data-flow analysis, to declare which functions are non-returning.
It can also help generate more-efficient code, as there is no need
to save a return address when calling a non-returning function.
-Gnulib has multiple ways to support such a declaration''
+Gnulib has multiple ways to support such a declaration:
@itemize @bullet
@item
diff --git a/modules/stdnoreturn b/modules/stdnoreturn
index ce6b04a35e..e283fd18fb 100644
--- a/modules/stdnoreturn
+++ b/modules/stdnoreturn
@@ -1,11 +1,9 @@
Description:
A <stdnoreturn.h> that nearly conforms to ISO C11.
-Status:
-obsolete
-
Notice:
-This module is obsolete.
+The module 'stdnoreturn' is deprecated.
+New code should use the '_Noreturn' keyword or the 'noreturn' module.
Files:
lib/stdnoreturn.in.h