summaryrefslogtreecommitdiff
path: root/lib
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
commit11f5ed65ba1996b044eb14c5e99b7c343d9b8129 (patch)
treefe904bc54b2031ee430492ee774e53c7459eaa67 /lib
parent99cf57df5f69d39cf269018ae7d32c9899fc1e08 (diff)
downloadcoreutils-11f5ed65ba1996b044eb14c5e99b7c343d9b8129.tar.xz
.
Diffstat (limited to 'lib')
-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 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 */