cbd6ce155a96eaa9721de37811f766860e2afdad
[gnulib.git] / lib / argmatch.h
1 #ifndef ARGMATCH_H
2 #define ARGMATCH_H 1
3
4 #ifndef __P
5 # if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
6 #  define __P(args) args
7 # else
8 #  define __P(args) ()
9 # endif  /* GCC.  */
10 #endif  /* Not __P.  */
11
12 int
13   argmatch __P ((const char *arg, const char *const *optlist));
14
15 void
16   invalid_arg __P ((const char *kind, const char *value, int problem));
17
18 #endif /* ARGMATCH_H */