diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | include/netdb.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ * resolv/netdb.h: Adjust parameters of gethostbyaddr and gethostbyaddr_r. + * include/netdb.h: Likewise. * inet/gethstbyad.c: Correct type of len parameter. * inet/gethstbyad_r.c: Likewise. diff --git a/include/netdb.h b/include/netdb.h index 3311e45..8fffe3c 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -8,7 +8,7 @@ extern int __gethostent_r __P ((struct hostent *__restrict __result_buf, int *__restrict __h_errnop)); extern int __gethostbyaddr_r __P ((__const char *__restrict __addr, - int __len, int __type, + size_t __len, int __type, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, |