From bbacd44b2a17982104a007218d46f76132abbed0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 18 Jul 1999 05:40:39 +0000 Subject: [PATCH] Update. * include/netdb.h: Likewise. --- ChangeLog | 1 + include/netdb.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 181d06d..c4eee47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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, -- 2.7.4