2011-07-12 Paul Eggert <eggert@cs.ucla.edu>
+ stdnoreturn, stdnoreturn-tests: remove modules
+ They're not needed here and a bit premature for use elsewhere. See
+ <http://lists.gnu.org/archive/html/bug-gnulib/2011-07/msg00209.html>.
+ * m4/stdnoreturn.m4, modules/stdnoreturn, modules/stdnoreturn-tests:
+ * tests/test-stdnoreturn.c: Remove files.
+ * MODULES.html.sh (_Noreturn <stdnoreturn.h>): Remove section.
+ * lib/openat.h, lib/sigpipe-die.h, lib/xalloc.h, lib/xmemdup0.h:
+ * lib/xstrtol.h: Use _Noreturn rather than including <stdnoreturn.h>
+ and using noreturn.
+ * modules/openat, modules/sigpipe-die, modules/xalloc:
+ * modules/xmemdup0, modules/xstrtol:
+ Remove dependency on stdnoreturn.
+
+ _Noreturn: Ignore __STDC_VERSION__; observe _MSC_VER.
+ * build-aux/_Noreturn.h (_Noreturn): Ignore __STDC_VERSION__.
+ Reparenthesize to avoid GCC warning.
+ Support Microsoft's syntax.
+ * m4/gnulib-common.m4 (gl_COMMON_BODY): Likewise.
+
+ _Noreturn-tests: remove module
+ * modules/_Noreturn-tests: Remove.
+ * modules/stdnoreturn-tests (Files): Remove tests/test-_Noreturn.c.
+ * tests/test-_Noreturn.c: Remove.
+ * tests/test-stdnoreturn.c: Merge from the old
+ tests/test-_Noreturn.c, testing both noreturn and _Noreturn.
+
+ * top/maint.mk: Adjust to new noreturn support.
+ (gl_extract_significant_defines_): Omit pattern ATTRIBUTE_NORETURN.
+ (def_sym_regex): Do not remove ATTRIBUTE_NORETURN.
+
+ xalloc: use stdnoreturn.h
+ * lib/xalloc.h: Include <stdnoreturn.h>.
+ (_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn.
+ * modules/xalloc (Depends-on): Add stdnoreturn.
+
+ xstrtol: use stdnoreturn.h
+ * lib/xstrtol.h: Include <stdnoreturn.h>.
+ (_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn.
+ * modules/xstrtol (Depends-on): Add stdnoreturn.
+
+ xmemdup0: use stdnoreturn.h
+ * lib/xmemdup0.h: Include <stdnoreturn.h>.
+ (_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn.
+ * modules/xmemdup0 (Depends-on): Add stdnoreturn.
+
+ sigpipe-die: use stdnoreturn.h
+ * lib/sigpipe-die.h: Include <stdnoreturn.h>.
+ (_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn.
+ * modules/sigpipe-die (Depends-on): Add stdnoreturn.
+
+ openat: use stdnoreturn.h
+ * lib/openat.h: Include <stdnoreturn.h>.
+ (_GL_ATTRIBUTE_NORETURN): Remove; all uses replaced with noreturn.
+ * modules/openat (Depends-on): Add stdnoreturn.
+
* lib/openat-die.c (openat_save_fail): Modernize comment.
* lib/xalloc-die.c (xalloc_die): Modernize comment.