diff options
Diffstat (limited to 'ares/ares_getopt.c')
-rw-r--r-- | ares/ares_getopt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ares/ares_getopt.c b/ares/ares_getopt.c index 177b26fea..59f3b8834 100644 --- a/ares/ares_getopt.c +++ b/ares/ares_getopt.c @@ -50,9 +50,9 @@ #include "ares_getopt.h" int opterr = 1, /* if error message should be printed */ - optind = 1, /* index into parent argv vector */ - optopt, /* character checked for validity */ - optreset; /* reset getopt */ + optind = 1; /* index into parent argv vector */ +static int optopt; /* character checked for validity */ +static int optreset; /* reset getopt */ char *optarg; /* argument associated with option */ #define BADCH (int)'?' |