summaryrefslogtreecommitdiff
path: root/lib/argmatch.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-12-31 18:10:53 +0000
committerJim Meyering <jim@meyering.net>1998-12-31 18:10:53 +0000
commitc92163b6e9cf9785f41c7be2f286eed406f3da6f (patch)
treea5646101ee0f48b3c261412eb7e9d33e45ab7964 /lib/argmatch.h
parent8782f7a817058fd2761a26d94ea30921e0e02955 (diff)
downloadcoreutils-c92163b6e9cf9785f41c7be2f286eed406f3da6f.tar.xz
white space changes
Diffstat (limited to 'lib/argmatch.h')
-rw-r--r--lib/argmatch.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/lib/argmatch.h b/lib/argmatch.h
index 6f87d0dc8..941375204 100644
--- a/lib/argmatch.h
+++ b/lib/argmatch.h
@@ -41,69 +41,69 @@
to the same values in VALLIST). */
int argmatch
- PARAMS ((const char *arg, const char *const *arglist,
- const char *vallist, size_t valsize));
+ PARAMS ((const char *arg, const char *const *arglist,
+ const char *vallist, size_t valsize));
int argcasematch
- PARAMS ((const char *arg, const char *const *arglist,
- const char *vallist, size_t valsize));
+ PARAMS ((const char *arg, const char *const *arglist,
+ const char *vallist, size_t valsize));
-# define ARGMATCH(ARG,ARGLIST,VALLIST) \
- argmatch (ARG, ARGLIST, (const char *) VALLIST, sizeof (*VALLIST))
+# define ARGMATCH(Arg, ARGLIST, Vallist) \
+ argmatch (Arg, Arglist, (const char *) Vallist, sizeof (*Vallist))
-# define ARGCASEMATCH(ARG,ARGLIST,VALLIST) \
- argcasematch (ARG, ARGLIST, (const char *) VALLIST, sizeof (*VALLIST))
+# define ARGCASEMATCH(Arg, Arglist, Vallist) \
+ argcasematch (Arg, Arglist, (const char *) Vallist, sizeof (*Vallist))
/* Report on stderr why argmatch failed. Report correct values. */
void argmatch_invalid
- PARAMS ((const char *kind, const char *value, int problem));
+ PARAMS ((const char *kind, const char *value, int problem));
/* Left for compatibility with the old name invalid_arg */
-# define invalid_arg(KIND,VALUE,PROBLEM) \
- argmatch_invalid (KIND, VALUE, PROBLEM)
+# define invalid_arg(Kind, Value, Problem) \
+ argmatch_invalid (Kind, Value, Problem)
/* Report on stderr the list of possible arguments. */
void argmatch_valid
- PARAMS ((const char *const *arglist,
- const char *vallist, size_t valsize));
+ PARAMS ((const char *const *arglist,
+ const char *vallist, size_t valsize));
-# define ARGMATCH_VALID(ARGLIST,VALLIST) \
- valid_args (ARGLIST, (const char *) VALLIST, sizeof (*VALLIST))
+# define ARGMATCH_VALID(Arglist, Vallist) \
+ valid_args (Arglist, (const char *) Vallist, sizeof (*Vallist))
/* Returns matches, or, upon error, report explanatory message and
exit. */
int __xargmatch_internal
- PARAMS ((const char *kind,
- const char *arg, const char *const *arglist,
- const char *vallist, size_t valsize,
- int sensitive));
+ PARAMS ((const char *kind,
+ const char *arg, const char *const *arglist,
+ const char *vallist, size_t valsize,
+ int sensitive));
-# define XARGMATCH(KIND,ARG,ARGLIST,VALLIST) \
- VALLIST [__xargmatch_internal (KIND, ARG, ARGLIST, \
- (const char *) VALLIST, sizeof (*VALLIST), 1)]
+# define XARGMATCH(Kind, Arg, Arglist, Vallist) \
+ Vallist [__xargmatch_internal (Kind, Arg, Arglist, \
+ (const char *) Vallist, sizeof (*Vallist), 1)]
-# define XARGCASEMATCH(KIND,ARG,ARGLIST,VALLIST) \
- VALLIST [__xargmatch_internal (KIND, ARG, ARGLIST, \
- (const char *) VALLIST, sizeof (*VALLIST), 0)]
+# define XARGCASEMATCH(Kind, Arg, Arglist, Vallist) \
+ Vallist [__xargmatch_internal (Kind, Arg, Arglist, \
+ (const char *) Vallist, sizeof (*Vallist), 0)]
/* Convert a value into a corresponding argument. */
-const char * argmatch_to_argument
- PARAMS ((char * value, const char *const *arglist,
- const char *vallist, size_t valsize));
+const char *argmatch_to_argument
+ PARAMS ((char *value, const char *const *arglist,
+ const char *vallist, size_t valsize));
-# define ARGMATCH_TO_ARGUMENT(VALUE,ARGLIST,VALLIST) \
- argmatch_to_argument ((char *) &VALUE, ARGLIST, \
- (const char *) VALLIST, sizeof (*VALLIST))
+# define ARGMATCH_TO_ARGUMENT(Value, Arglist, Vallist) \
+ argmatch_to_argument ((char *) &Value, Arglist, \
+ (const char *) Vallist, sizeof (*Vallist))
#endif /* _ARGMATCH_H_ */