aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_getopt.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-16 15:35:34 +0000
committerYang Tse <yangsita@gmail.com>2007-04-16 15:35:34 +0000
commit827228bd69f8dd17824ae878d6211809b193eaff (patch)
tree6dfdd8d62c95c7c82dfaa9d39f5a508d8f2498c4 /ares/ares_getopt.h
parent69c5506b691afc9d0f25480563f871a6260e17d8 (diff)
move linkage var declarations to ares_getopt.h
Diffstat (limited to 'ares/ares_getopt.h')
-rw-r--r--ares/ares_getopt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ares/ares_getopt.h b/ares/ares_getopt.h
index e15dc6bfc..3dafaf38f 100644
--- a/ares/ares_getopt.h
+++ b/ares/ares_getopt.h
@@ -33,5 +33,9 @@
int ares_getopt(int nargc, char * const nargv[], const char *ostr);
+extern char *optarg;
+extern int optind;
+extern int opterr;
+
#endif /* ARES_GETOPT_H */