summaryrefslogtreecommitdiff
path: root/m4/system_.h
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2003-09-16 15:03:33 +0000
committerEric Blake <ebb9@byu.net>2007-10-05 22:00:39 -0600
commit09d1187fb83f1ad9d3bca76637230bdb4f7ed1c3 (patch)
treebaff2fd6e3c1d0a08e024578c51160df6cda5460 /m4/system_.h
parent59b06756aac8e9aa7513eec47919ca95e99b1c97 (diff)
downloadm4-09d1187fb83f1ad9d3bca76637230bdb4f7ed1c3.tar.gz
* gnulib/m4/exit.h: Import exit module from CVS gnulib.
* gnulib/m4/Makefile.am (pkginclude_HEADERS): Add exit.h. * m4/system_.h: Don't define EXIT_SUCCESS and FAILURE, include exit.h instead.
Diffstat (limited to 'm4/system_.h')
-rw-r--r--m4/system_.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/m4/system_.h b/m4/system_.h
index 2364f69d..1943bc92 100644
--- a/m4/system_.h
+++ b/m4/system_.h
@@ -34,6 +34,7 @@
@INCLUDE_OBSTACK_H@
@INCLUDE_REGEX_H@
@INCLUDE_STDBOOL_H@
+#include <m4/exit.h>
#include <m4/xalloc.h>
#include <m4/xstrndup.h>
@@ -148,17 +149,8 @@ BEGIN_C_DECLS
-/* Make sure these are defined. */
-#ifndef EXIT_FAILURE
-# define EXIT_SUCCESS 0
-# define EXIT_FAILURE 1
-#endif
-
-
#define DELETE(Expr) ((Expr) = (xfree (Expr), (void *) 0))
-extern char *xstrzdup (const char *string, size_t len);
-
END_C_DECLS
#endif /* !M4_SYSTEM_H */