summaryrefslogtreecommitdiff
path: root/lib/argmatch.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-12-21 23:05:56 +0000
committerJim Meyering <jim@meyering.net>1995-12-21 23:05:56 +0000
commit34411e9e59c2820e440ae76755bc9b086a36d90f (patch)
tree48dcc886bcb414f3b1d5b2c2f7150ec47b41c0de /lib/argmatch.h
parent9ac91c30e0cb147b7cc062454e37b1e0ee7bb057 (diff)
downloadgnulib-34411e9e59c2820e440ae76755bc9b086a36d90f.tar.gz
.
Diffstat (limited to 'lib/argmatch.h')
-rw-r--r--lib/argmatch.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/argmatch.h b/lib/argmatch.h
new file mode 100644
index 0000000000..cbd6ce155a
--- /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 */