Browse Source

correct type of 2nd argument to meet RFC2553. (this should raise no ABI

problem due to type promotion).  PR 1228.
OPENBSD_2_8
itojun 24 years ago
parent
commit
485eb3c523
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.9 2000/02/09 12:22:08 itojun Exp $ */
/* $OpenBSD: netdb.h,v 1.10 2000/05/15 10:50:39 itojun Exp $ */
/* /*
* ++Copyright++ 1980, 1983, 1988, 1993 * ++Copyright++ 1980, 1983, 1988, 1993
@ -214,7 +214,7 @@ void setservent __P((int));
int getaddrinfo __P((const char *name, const char *service, int getaddrinfo __P((const char *name, const char *service,
const struct addrinfo *req, struct addrinfo **pai)); const struct addrinfo *req, struct addrinfo **pai));
void freeaddrinfo __P((struct addrinfo *ai)); void freeaddrinfo __P((struct addrinfo *ai));
int getnameinfo __P((const struct sockaddr *sa, size_t addrlen,
int getnameinfo __P((const struct sockaddr *sa, socklen_t addrlen,
char *host, size_t hostlen, char *serv, size_t servlen, char *host, size_t hostlen, char *serv, size_t servlen,
int flags)); int flags));
char *gai_strerror __P((int ecode)); char *gai_strerror __P((int ecode));


Loading…
Cancel
Save