From 50440c42209f339d870f8c4a0712205a8c9f42ec Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 17 Jun 2015 21:20:22 +0200 Subject: [PATCH] Remove gethostbyname_r and gethostbyaddr_r from headers * They were not in BeOS. * They are also not in netresolv, they are deprecated and getaddrinfo should be used. --- headers/posix/netdb.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/headers/posix/netdb.h b/headers/posix/netdb.h index 1c94c3c210..7e1455443f 100644 --- a/headers/posix/netdb.h +++ b/headers/posix/netdb.h @@ -269,10 +269,6 @@ struct addrinfo *allocaddrinfo(socklen_t); void freeaddrinfo(struct addrinfo *); const char *gai_strerror(int); -struct hostent *gethostbyaddr_r(const char *, int, int, struct hostent *, - char *, int, int *); -struct hostent *gethostbyname_r(const char *, struct hostent *, - char *, int, int *); struct hostent *gethostent_r(struct hostent *, char *, int, int *); void sethostent_r(int); void endhostent_r(void);