summaryrefslogtreecommitdiffstats
path: root/contrib/patch/argmatch.h
blob: e95ff62e24c06b095c1e1e3681eb090e646495ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* argmatch.h -- declarations for matching arguments against option lists */

#if defined __STDC__ || __GNUC__
# define __ARGMATCH_P(args) args
#else
# define __ARGMATCH_P(args) ()
#endif

int argmatch __ARGMATCH_P ((const char *, const char * const *));
void invalid_arg __ARGMATCH_P ((const char *, const char *, int));

extern char const program_name[];
OpenPOWER on IntegriCloud