aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-25 19:44:38 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-25 19:44:38 +0000
commit4c1f1226076c434247799e1d8c63abf254a3b0d3 (patch)
tree6b577d9a4b26931daa5f24aa31bd1256aa39053b /include
parent4aa090d412b7aa346d42aab114b6a1093ea0d3a2 (diff)
downloadbusybox-w32-4c1f1226076c434247799e1d8c63abf254a3b0d3.tar.gz
busybox-w32-4c1f1226076c434247799e1d8c63abf254a3b0d3.tar.bz2
busybox-w32-4c1f1226076c434247799e1d8c63abf254a3b0d3.zip
arping: stop using last gethostbyname2 in the tree
hostname: small optimization git-svn-id: svn://busybox.net/trunk/busybox@17517 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 8cd4bc377..fda0dbe40 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -338,8 +338,6 @@ char* xmalloc_sockaddr2dotted_noport(const struct sockaddr *sa, socklen_t salen)
338// "old" (ipv4 only) API 338// "old" (ipv4 only) API
339// users: traceroute.c hostname.c ifconfig.c ping.c 339// users: traceroute.c hostname.c ifconfig.c ping.c
340struct hostent *xgethostbyname(const char *name); 340struct hostent *xgethostbyname(const char *name);
341//TODO: eliminate gethostbyname2 in arping (the only remaining place),
342//use host_and_af2sockaddr instead.
343 341
344 342
345extern char *xstrdup(const char *s); 343extern char *xstrdup(const char *s);