summaryrefslogtreecommitdiff
path: root/ares_getopt.c
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.c
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.c')
-rw-r--r--ares_getopt.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ares_getopt.c b/ares_getopt.c
index c3e81fc..3b565a4 100644
--- a/ares_getopt.c
+++ b/ares_getopt.c
@@ -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 */