summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-25 19:44:38 +0000
committerDenis Vlasenko2007-01-25 19:44:38 +0000
commit90ec4dc0c71c6343e45469b3a3bfdd6403dd8de1 (patch)
tree6b577d9a4b26931daa5f24aa31bd1256aa39053b /include
parentaeb4bdd582d6b11adcdb128d97076101c3c61f1d (diff)
downloadbusybox-90ec4dc0c71c6343e45469b3a3bfdd6403dd8de1.zip
busybox-90ec4dc0c71c6343e45469b3a3bfdd6403dd8de1.tar.gz
arping: stop using last gethostbyname2 in the tree
hostname: small optimization
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 8cd4bc3..fda0dbe 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -338,8 +338,6 @@ char* xmalloc_sockaddr2dotted_noport(const struct sockaddr *sa, socklen_t salen)
// "old" (ipv4 only) API
// users: traceroute.c hostname.c ifconfig.c ping.c
struct hostent *xgethostbyname(const char *name);
-//TODO: eliminate gethostbyname2 in arping (the only remaining place),
-//use host_and_af2sockaddr instead.
extern char *xstrdup(const char *s);