summaryrefslogtreecommitdiff
path: root/include/netdb.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-06-08 18:32:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-06-08 18:32:35 +0000
commit5077da159060a1bf67fb0cfc7dc44930e51da3c0 (patch)
treeb5fbc5324597539dd411abab2d10c3eba3a9cc41 /include/netdb.h
parent450458da5c54b346d37bd11af2c123619d1b5251 (diff)
Make gethostbyaddr() prototype match POSIX. This means len is now
unsigned but there is no ABI change. OK deraadt@
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 96c4afebb22..d8b4261c2a5 100644
--- a/include/netdb.h
+++ b/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);