diff options
| author | kleink <kleink@NetBSD.org> | 2001-04-26 12:55:31 +0000 |
|---|---|---|
| committer | kleink <kleink@NetBSD.org> | 2001-04-26 12:55:31 +0000 |
| commit | 91491e8dda6c5aee38ca27351ea22b2d00c8d869 (patch) | |
| tree | 131177c841af9e447d110c59326f2325267598e1 /include | |
| parent | d36c7218352efac4acdd98f6630ba1c6033b02ef (diff) | |
Change the `len' arguemtn to gethostbyaddr(3) from int to socklen_t in
accordance with XNS5.2; fixes PR standards/12703.
Diffstat (limited to 'include')
| -rw-r--r-- | include/netdb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/netdb.h b/include/netdb.h index 84067ac68d0..71df8905513 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -1,4 +1,4 @@ -/* $NetBSD: netdb.h,v 1.20 2000/07/30 06:33:18 lukem Exp $ */ +/* $NetBSD: netdb.h,v 1.21 2001/04/26 12:55:31 kleink Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -259,7 +259,7 @@ void endservent __P((void)); #if !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE - 0) >= 500 void freehostent __P((struct hostent *)); #endif -struct hostent *gethostbyaddr __P((const char *, int, int)); +struct hostent *gethostbyaddr __P((const char *, socklen_t, int)); struct hostent *gethostbyname __P((const char *)); #if !defined(_XOPEN_SOURCE) struct hostent *gethostbyname2 __P((const char *, int)); |
