diff --git a/src/include/netdb.h b/src/include/netdb.h index 96c4afeb..d8b4261c 100644 --- a/src/include/netdb.h +++ b/src/include/netdb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: netdb.h,v 1.23 2004/12/20 22:35:32 millert Exp $ */ +/* $OpenBSD: netdb.h,v 1.24 2005/06/08 18:32:32 millert Exp $ */ /* * ++Copyright++ 1980, 1983, 1988, 1993 @@ -265,7 +265,7 @@ void endservent(void); #ifndef POSIX_SOURCE void endservent_r(struct servent_data *); #endif -struct hostent *gethostbyaddr(const char *, int, int); +struct hostent *gethostbyaddr(const void *, socklen_t, int); struct hostent *gethostbyname(const char *); struct hostent *gethostbyname2(const char *, int); struct hostent *gethostent(void);