From 90ec4dc0c71c6343e45469b3a3bfdd6403dd8de1 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 25 Jan 2007 19:44:38 +0000 Subject: arping: stop using last gethostbyname2 in the tree hostname: small optimization --- include/libbb.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/libbb.h') 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) // "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); -- cgit v1.2.3