diff options
Diffstat (limited to 'libc/include/netdb.h')
-rw-r--r-- | libc/include/netdb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/include/netdb.h b/libc/include/netdb.h index c2e08ea87..949136455 100644 --- a/libc/include/netdb.h +++ b/libc/include/netdb.h @@ -209,8 +209,8 @@ void endnetgrent(void); void endprotoent(void); void endservent(void); void freehostent(struct hostent *); -struct hostent *gethostbyaddr(const char *, int, int); -int gethostbyaddr_r(const char *, int, int, struct hostent *, char *, size_t, struct hostent **, int *); +struct hostent *gethostbyaddr(const void *, int, int); +int gethostbyaddr_r(const void *, int, 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); |