summaryrefslogtreecommitdiffstats
path: root/contrib/patch/argmatch.h
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-06-29 06:55:02 +0000
committersteve <steve@FreeBSD.org>1997-06-29 06:55:02 +0000
commit4b6324645f7223db0870236240d6e99eb4cda757 (patch)
treeb91e93b575aeb975e736e614eaf2a0d0f8ea461a /contrib/patch/argmatch.h
downloadFreeBSD-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.h12
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[];
OpenPOWER on IntegriCloud