summaryrefslogtreecommitdiff
path: root/lib/argmatch.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-01-16 15:21:52 +0000
committerJim Meyering <jim@meyering.net>1999-01-16 15:21:52 +0000
commitc94e186b91b4240b8abe198cb605aba78159f34e (patch)
tree1de59a485cc99f60feb2bf568355c6321933583a /lib/argmatch.h
parente42efa6866fd05a9f3d7ff430bc072721373bac8 (diff)
downloadcoreutils-c94e186b91b4240b8abe198cb605aba78159f34e.tar.xz
s/argmatch_exit_failure/argmatch_die/
Diffstat (limited to 'lib/argmatch.h')
-rw-r--r--lib/argmatch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/argmatch.h b/lib/argmatch.h
index cb54fd6f3..669a0e30e 100644
--- a/lib/argmatch.h
+++ b/lib/argmatch.h
@@ -57,7 +57,7 @@ int argcasematch
default, set to a function calling the macro ARGMATCH_EXIT_FAILURE
which, by default is `exit (2)'.*/
typedef void (*argmatch_exit_fn) PARAMS ((void));
-extern argmatch_exit_fn argmatch_exit_failure;
+extern argmatch_exit_fn argmatch_die;
/* Report on stderr why argmatch failed. Report correct values. */
@@ -97,13 +97,13 @@ int __xargmatch_internal
(Vallist [__xargmatch_internal ((Context), (Arg), (Arglist), \
(const char *) (Vallist), \
sizeof (*(Vallist)), \
- 1, argmatch_exit_failure)])
+ 1, argmatch_die)])
# define XARGCASEMATCH(Context, Arg, Arglist, Vallist) \
(Vallist [__xargmatch_internal ((Context), (Arg), (Arglist), \
(const char *) (Vallist), \
sizeof (*(Vallist)), \
- 0, argmatch_exit_failure)])
+ 0, argmatch_die)])
/* Convert a value into a corresponding argument. */