From: Jim Meyering Date: Sat, 13 Sep 2003 10:19:33 +0000 (+0000) Subject: Include exit.h. X-Git-Tag: v5.1.0~658 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3da69c62ed725447f7d0631af41925f281f2e945;p=thirdparty%2Fcoreutils.git Include exit.h. (EXIT_FAILURE): Remove; now done by exit.h --- diff --git a/lib/argmatch.c b/lib/argmatch.c index 3983632521..86a01eb5be 100644 --- a/lib/argmatch.c +++ b/lib/argmatch.c @@ -35,6 +35,7 @@ #define _(msgid) gettext (msgid) #include "error.h" +#include "exit.h" #include "quotearg.h" #include "quote.h" #include "unlocked-io.h" @@ -46,10 +47,6 @@ # 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)