summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-01-21 22:34:58 +0000
committerJim Meyering <jim@meyering.net>2004-01-21 22:34:58 +0000
commitdfc3aad38f234542aca43083499b9aacf52943dd (patch)
treecd61a2c8b127e692af95d17e80fd21ccf6503731 /lib
parent096e4b3a92e8ff10ecb2985787065ed9c37e845b (diff)
downloadcoreutils-dfc3aad38f234542aca43083499b9aacf52943dd.tar.xz
(ARGMATCH_DIE) [! defined ARGMATCH_DIE]:
Include "exitfail.h", and use exit_failure rather than EXIT_FAILURE.
Diffstat (limited to 'lib')
-rw-r--r--lib/argmatch.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/argmatch.c b/lib/argmatch.c
index 972a085e9..210689ba3 100644
--- a/lib/argmatch.c
+++ b/lib/argmatch.c
@@ -1,7 +1,7 @@
/* argmatch.c -- find a match for a string in an array
- Copyright (C) 1990, 1998, 1999, 2001, 2002, 2003 Free Software
- Foundation, Inc.
+ Copyright (C) 1990, 1998, 1999, 2001, 2002, 2003, 2004 Free
+ Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -49,7 +49,8 @@
/* Non failing version of argmatch call this function after failing. */
#ifndef ARGMATCH_DIE
-# define ARGMATCH_DIE exit (EXIT_FAILURE)
+# include "exitfail.h"
+# define ARGMATCH_DIE exit (exit_failure)
#endif
#ifdef ARGMATCH_DIE_DECL