diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index 1a5ce24ad..8cd4bc377 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -336,12 +336,10 @@ char* xmalloc_sockaddr2hostonly_noport(const struct sockaddr *sa, socklen_t sale | |||
336 | char* xmalloc_sockaddr2dotted(const struct sockaddr *sa, socklen_t salen); | 336 | char* xmalloc_sockaddr2dotted(const struct sockaddr *sa, socklen_t salen); |
337 | char* xmalloc_sockaddr2dotted_noport(const struct sockaddr *sa, socklen_t salen); | 337 | char* xmalloc_sockaddr2dotted_noport(const struct sockaddr *sa, socklen_t salen); |
338 | // "old" (ipv4 only) API | 338 | // "old" (ipv4 only) API |
339 | //void bb_lookup_host(struct sockaddr_in *s_in, const char *host); | ||
340 | //int xconnect_tcp_v4(struct sockaddr_in *s_addr); | ||
341 | // users: traceroute.c hostname.c ifconfig.c ping.c | 339 | // users: traceroute.c hostname.c ifconfig.c ping.c |
342 | struct hostent *xgethostbyname(const char *name); | 340 | struct hostent *xgethostbyname(const char *name); |
343 | //// ping6 is the only user - convert to new API | 341 | //TODO: eliminate gethostbyname2 in arping (the only remaining place), |
344 | //struct hostent *xgethostbyname2(const char *name, int af); | 342 | //use host_and_af2sockaddr instead. |
345 | 343 | ||
346 | 344 | ||
347 | extern char *xstrdup(const char *s); | 345 | extern char *xstrdup(const char *s); |