projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[gnulib.git]
/
lib
/
argmatch.h
diff --git
a/lib/argmatch.h
b/lib/argmatch.h
index
cbd6ce1
..
43ea5db
100644
(file)
--- a/
lib/argmatch.h
+++ b/
lib/argmatch.h
@@
-1,18
+1,12
@@
-#ifndef ARGMATCH_H
-#define ARGMATCH_H 1
+/* argmatch.h -- declarations for matching arguments against option lists */
-#ifndef __P
-# if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
-# define __P(args) args
-# else
-# define __P(args) ()
-# endif /* GCC. */
-#endif /* Not __P. */
+#if defined __STDC__ || __GNUC__
+# define __ARGMATCH_P(args) args
+#else
+# define __ARGMATCH_P(args) ()
+#endif
-int
-
argmatch __P ((const char *arg, const char *const *optlis
t));
+int
argmatch __ARGMATCH_P ((const char *, const char * const *));
+
void invalid_arg __ARGMATCH_P ((const char *, const char *, in
t));
-void
- invalid_arg __P ((const char *kind, const char *value, int problem));
-
-#endif /* ARGMATCH_H */
+extern char *program_name;