Loading ares/Makefile.inc +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ ares_timeout.c ares_destroy.c ares_mkquery.c ares_version.c \ ares_expand_name.c ares_parse_a_reply.c windows_port.c \ ares_expand_string.c ares_parse_ptr_reply.c ares_parse_aaaa_reply.c \ ares_getnameinfo.c inet_net_pton.c bitncmp.c inet_ntop.c \ ares_parse_ns_reply.c ares_parse_ns_reply.c ares_getopt.c HHEADERS = ares.h ares_private.h setup.h ares_dns.h ares_version.h \ nameser.h inet_net_pton.h inet_ntop.h ares_ipv6.h bitncmp.h \ Loading ares/Makefile.vc6 +5 −1 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ OBJECTS = $(OBJ_DIR)\ares_fds.obj \ $(OBJ_DIR)\ares__read_line.obj \ $(OBJ_DIR)\ares_gethostbyname.obj \ $(OBJ_DIR)\ares_getnameinfo.obj \ $(OBJ_DIR)\ares_getopt.obj \ $(OBJ_DIR)\ares_strerror.obj \ $(OBJ_DIR)\ares_cancel.obj \ $(OBJ_DIR)\ares_init.obj \ Loading Loading @@ -121,6 +122,7 @@ $(DEF_FILE): $(OBJECTS) Makefile.VC6 @echo ares_inet_pton >> $@ @echo ares_writev >> $@ @echo ares_getnameinfo >> $@ @echo ares_getopt >> $@ @echo ares_gettimeofday >> $@ @echo ares_parse_aaaa_reply >> $@ Loading Loading @@ -229,3 +231,5 @@ $(OBJ_DIR)\bitncmp.obj: bitncmp.c bitncmp.h $(OBJ_DIR)\inet_ntop.obj: inet_ntop.c setup.h setup_once.h nameser.h \ ares_ipv6.h inet_ntop.h $(OBJ_DIR)\ares_getopt.obj: ares_getopt.c setup.h setup_once.h ares.h ares/adig.c +1 −4 Original line number Diff line number Diff line Loading @@ -32,9 +32,6 @@ #endif #include <netdb.h> #endif #ifdef HAVE_GETOPT_H #include <getopt.h> #endif #include <stdio.h> #include <stdlib.h> Loading Loading @@ -163,7 +160,7 @@ int main(int argc, char **argv) options.flags = ARES_FLAG_NOCHECKRESP; options.servers = NULL; options.nservers = 0; while ((c = getopt(argc, argv, "df:s:c:t:T:U:")) != -1) while ((c = ares_getopt(argc, argv, "df:s:c:t:T:U:")) != -1) { switch (c) { Loading ares/ahost.c +1 −5 Original line number Diff line number Diff line Loading @@ -34,10 +34,6 @@ #include <stdlib.h> #include <string.h> #ifdef HAVE_GETOPT_H #include <getopt.h> #endif #include "ares.h" #include "ares_dns.h" #include "inet_ntop.h" Loading Loading @@ -73,7 +69,7 @@ int main(int argc, char **argv) WSAStartup(wVersionRequested, &wsaData); #endif while ((c = getopt(argc,argv,"dt:h")) != -1) while ((c = ares_getopt(argc,argv,"dt:h")) != -1) { switch (c) { Loading Loading
ares/Makefile.inc +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ ares_timeout.c ares_destroy.c ares_mkquery.c ares_version.c \ ares_expand_name.c ares_parse_a_reply.c windows_port.c \ ares_expand_string.c ares_parse_ptr_reply.c ares_parse_aaaa_reply.c \ ares_getnameinfo.c inet_net_pton.c bitncmp.c inet_ntop.c \ ares_parse_ns_reply.c ares_parse_ns_reply.c ares_getopt.c HHEADERS = ares.h ares_private.h setup.h ares_dns.h ares_version.h \ nameser.h inet_net_pton.h inet_ntop.h ares_ipv6.h bitncmp.h \ Loading
ares/Makefile.vc6 +5 −1 Original line number Diff line number Diff line Loading @@ -57,6 +57,7 @@ OBJECTS = $(OBJ_DIR)\ares_fds.obj \ $(OBJ_DIR)\ares__read_line.obj \ $(OBJ_DIR)\ares_gethostbyname.obj \ $(OBJ_DIR)\ares_getnameinfo.obj \ $(OBJ_DIR)\ares_getopt.obj \ $(OBJ_DIR)\ares_strerror.obj \ $(OBJ_DIR)\ares_cancel.obj \ $(OBJ_DIR)\ares_init.obj \ Loading Loading @@ -121,6 +122,7 @@ $(DEF_FILE): $(OBJECTS) Makefile.VC6 @echo ares_inet_pton >> $@ @echo ares_writev >> $@ @echo ares_getnameinfo >> $@ @echo ares_getopt >> $@ @echo ares_gettimeofday >> $@ @echo ares_parse_aaaa_reply >> $@ Loading Loading @@ -229,3 +231,5 @@ $(OBJ_DIR)\bitncmp.obj: bitncmp.c bitncmp.h $(OBJ_DIR)\inet_ntop.obj: inet_ntop.c setup.h setup_once.h nameser.h \ ares_ipv6.h inet_ntop.h $(OBJ_DIR)\ares_getopt.obj: ares_getopt.c setup.h setup_once.h ares.h
ares/adig.c +1 −4 Original line number Diff line number Diff line Loading @@ -32,9 +32,6 @@ #endif #include <netdb.h> #endif #ifdef HAVE_GETOPT_H #include <getopt.h> #endif #include <stdio.h> #include <stdlib.h> Loading Loading @@ -163,7 +160,7 @@ int main(int argc, char **argv) options.flags = ARES_FLAG_NOCHECKRESP; options.servers = NULL; options.nservers = 0; while ((c = getopt(argc, argv, "df:s:c:t:T:U:")) != -1) while ((c = ares_getopt(argc, argv, "df:s:c:t:T:U:")) != -1) { switch (c) { Loading
ares/ahost.c +1 −5 Original line number Diff line number Diff line Loading @@ -34,10 +34,6 @@ #include <stdlib.h> #include <string.h> #ifdef HAVE_GETOPT_H #include <getopt.h> #endif #include "ares.h" #include "ares_dns.h" #include "inet_ntop.h" Loading Loading @@ -73,7 +69,7 @@ int main(int argc, char **argv) WSAStartup(wVersionRequested, &wsaData); #endif while ((c = getopt(argc,argv,"dt:h")) != -1) while ((c = ares_getopt(argc,argv,"dt:h")) != -1) { switch (c) { Loading