Merge "Sync with upstream for gethnamaddr.c."

This commit is contained in:
Yabin Cui
2014-12-18 01:06:10 +00:00
committed by Gerrit Code Review
5 changed files with 1262 additions and 558 deletions

View File

@@ -209,7 +209,7 @@ void endprotoent(void);
void endservent(void);
void freehostent(struct hostent *);
struct hostent *gethostbyaddr(const void *, socklen_t, int);
int gethostbyaddr_r(const void *, int, int, struct hostent *, char *, size_t, struct hostent **, int *);
int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent **, int *);
struct hostent *gethostbyname(const char *);
int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *);
struct hostent *gethostbyname2(const char *, int);