summaryrefslogtreecommitdiff
path: root/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
commit35b7d087685477ec9a91f945507d41dff0c942f2 (patch)
treeaaf393f8a97a701f204d32496bd03a7525b8518d /ares_getopt.h
parent1d987360cbf21be95b0017ef22608a6c9f7037de (diff)
downloadc-ares-35b7d087685477ec9a91f945507d41dff0c942f2.tar.gz
c-ares-35b7d087685477ec9a91f945507d41dff0c942f2.tar.bz2
c-ares-35b7d087685477ec9a91f945507d41dff0c942f2.zip
move linkage var declarations to ares_getopt.h
Diffstat (limited to 'ares_getopt.h')
-rw-r--r--ares_getopt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ares_getopt.h b/ares_getopt.h
index e15dc6b..3dafaf3 100644
--- a/ares_getopt.h
+++ b/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 */