summaryrefslogtreecommitdiff
path: root/lib/argmatch.h
blob: 43ea5dbf4513fc870723d7b465d627b5ed8d5a35 (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 *program_name;