.
authorJim Meyering <jim@meyering.net>
Thu, 21 Dec 1995 23:05:56 +0000 (23:05 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 21 Dec 1995 23:05:56 +0000 (23:05 +0000)
lib/argmatch.h [new file with mode: 0644]

diff --git a/lib/argmatch.h b/lib/argmatch.h
new file mode 100644 (file)
index 0000000..cbd6ce1
--- /dev/null
@@ -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 */