From 11f5ed65ba1996b044eb14c5e99b7c343d9b8129 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 21 Dec 1995 23:05:56 +0000 Subject: . --- lib/argmatch.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lib/argmatch.h (limited to 'lib') diff --git a/lib/argmatch.h b/lib/argmatch.h new file mode 100644 index 000000000..cbd6ce155 --- /dev/null +++ b/lib/argmatch.h @@ -0,0 +1,18 @@ +#ifndef ARGMATCH_H +#define ARGMATCH_H 1 + +#ifndef __P +# if defined (__GNUC__) || (defined (__STDC__) && __STDC__) +# define __P(args) args +# else +# define __P(args) () +# endif /* GCC. */ +#endif /* Not __P. */ + +int + argmatch __P ((const char *arg, const char *const *optlist)); + +void + invalid_arg __P ((const char *kind, const char *value, int problem)); + +#endif /* ARGMATCH_H */ -- cgit v1.2.3-70-g09d2