summaryrefslogtreecommitdiff
path: root/lib/xstrtol.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-07-12 01:16:08 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-07-12 01:16:08 -0700
commit4b69a607a11db64d663d264aa53292b2314f7152 (patch)
treec88893493b2b26dc5810369d3a45ad57244c148a /lib/xstrtol.h
parent29b9f9415f47e9bd19fc9a0ce923f013e5a41f68 (diff)
downloadgnulib-4b69a607a11db64d663d264aa53292b2314f7152.tar.gz
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.
Diffstat (limited to 'lib/xstrtol.h')
-rw-r--r--lib/xstrtol.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/xstrtol.h b/lib/xstrtol.h
index 171c3efbef..ad134ab8b4 100644
--- a/lib/xstrtol.h
+++ b/lib/xstrtol.h
@@ -21,7 +21,6 @@
# include <getopt.h>
# include <inttypes.h>
-# include <stdnoreturn.h>
# ifndef _STRTOL_ERROR
enum strtol_error
@@ -67,8 +66,8 @@ _DECLARE_XSTRTOL (xstrtoull, unsigned long long int)
After reporting an error, exit with a failure status. */
-void noreturn xstrtol_fatal (enum strtol_error,
- int, char, struct option const *,
- char const *);
+void _Noreturn xstrtol_fatal (enum strtol_error,
+ int, char, struct option const *,
+ char const *);
#endif /* not XSTRTOL_H_ */