s/argmatch_exit_failure/argmatch_die/
authorJim Meyering <jim@meyering.net>
Sat, 16 Jan 1999 15:21:52 +0000 (15:21 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 16 Jan 1999 15:21:52 +0000 (15:21 +0000)
lib/argmatch.c
lib/argmatch.h

index 6ae76ac1bbf7a273a5e313a9850b1506f46a3528..9ac9bdbfcb3c26bd17bf31647c10efbcfb7d019e 100644 (file)
@@ -67,7 +67,7 @@ __argmatch_die (void)
   ARGMATCH_DIE;
 }
 
-argmatch_exit_fn argmatch_exit_failure = __argmatch_exit_failure;
+argmatch_exit_fn argmatch_die = __argmatch_die;
 \f
 /* If ARG is an unambiguous match for an element of the
    null-terminated array ARGLIST, return the index in ARGLIST
index cb54fd6f3ed67a7594d38bb6f0f924da44c9689f..669a0e30e1254ff7f05bb5c1ec91fabd3b403399 100644 (file)
@@ -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. */