move linkage var declarations to ares_getopt.h

This commit is contained in:
Yang Tse
2007-04-16 15:35:34 +00:00
parent 1d987360cb
commit 35b7d08768
4 changed files with 4 additions and 15 deletions
-5
View File
@@ -49,11 +49,6 @@
#include <string.h>
#include "ares_getopt.h"
/* declarations to provide consistent linkage */
extern char *optarg;
extern int optind;
extern int opterr;
int opterr = 1, /* if error message should be printed */
optind = 1, /* index into parent argv vector */
optopt, /* character checked for validity */