Browse Source

Make gethostbyaddr() prototype match POSIX. This means len is now

unsigned but there is no ABI change.  OK deraadt@
OPENBSD_3_8
millert 19 years ago
parent
commit
9e06ca5a4b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/include/netdb.h

+ 2
- 2
src/include/netdb.h View File

@ -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);


Loading…
Cancel
Save