diff options
author | steve <steve@FreeBSD.org> | 1997-06-29 06:55:02 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1997-06-29 06:55:02 +0000 |
commit | 4b6324645f7223db0870236240d6e99eb4cda757 (patch) | |
tree | b91e93b575aeb975e736e614eaf2a0d0f8ea461a /contrib/patch/argmatch.h | |
download | FreeBSD-src-4b6324645f7223db0870236240d6e99eb4cda757.zip FreeBSD-src-4b6324645f7223db0870236240d6e99eb4cda757.tar.gz |
Import of GNU patch version 2.4.
Diffstat (limited to 'contrib/patch/argmatch.h')
-rw-r--r-- | contrib/patch/argmatch.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/patch/argmatch.h b/contrib/patch/argmatch.h new file mode 100644 index 0000000..e95ff62 --- /dev/null +++ b/contrib/patch/argmatch.h @@ -0,0 +1,12 @@ +/* argmatch.h -- declarations for matching arguments against option lists */ + +#if defined __STDC__ || __GNUC__ +# define __ARGMATCH_P(args) args +#else +# define __ARGMATCH_P(args) () +#endif + +int argmatch __ARGMATCH_P ((const char *, const char * const *)); +void invalid_arg __ARGMATCH_P ((const char *, const char *, int)); + +extern char const program_name[]; |