]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include exit.h.
authorJim Meyering <jim@meyering.net>
Sat, 13 Sep 2003 10:19:33 +0000 (10:19 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 13 Sep 2003 10:19:33 +0000 (10:19 +0000)
(EXIT_FAILURE): Remove; now done by exit.h

lib/argmatch.c

index 398363252175c88c6f1bfcc92af751ba156b4115..86a01eb5be58c29c834423cca65380714669689f 100644 (file)
@@ -35,6 +35,7 @@
 #define _(msgid) gettext (msgid)
 
 #include "error.h"
+#include "exit.h"
 #include "quotearg.h"
 #include "quote.h"
 #include "unlocked-io.h"
 # define ARGMATCH_QUOTING_STYLE locale_quoting_style
 #endif
 
-#ifndef EXIT_FAILURE
-# define EXIT_FAILURE 1
-#endif
-
 /* Non failing version of argmatch call this function after failing. */
 #ifndef ARGMATCH_DIE
 # define ARGMATCH_DIE exit (EXIT_FAILURE)