changeset 1647:af020f6709a9

s/argmatch_exit_failure/argmatch_die/
author Jim Meyering <jim@meyering.net>
date Sat, 16 Jan 1999 15:21:52 +0000
parents 0f8f202484fb
children a3f5139f6ebe
files lib/argmatch.c lib/argmatch.h
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lib/argmatch.c
+++ b/lib/argmatch.c
@@ -67,7 +67,7 @@
   ARGMATCH_DIE;
 }
 
-argmatch_exit_fn argmatch_exit_failure = __argmatch_exit_failure;
+argmatch_exit_fn argmatch_die = __argmatch_die;
 
 /* If ARG is an unambiguous match for an element of the
    null-terminated array ARGLIST, return the index in ARGLIST
--- a/lib/argmatch.h
+++ b/lib/argmatch.h
@@ -57,7 +57,7 @@
    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 @@
   (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. */