mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-05 07:54:07 +08:00
19 lines
385 B
C
19 lines
385 B
C
#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 */
|