aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-18 05:40:39 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-18 05:40:39 +0000
commitbbacd44b2a17982104a007218d46f76132abbed0 (patch)
tree1d1b4b2cd97f07a5cd3f96051a296ad4ad306387
parent5da9f08469c8143b3f4a06fdf117683e3b1bf394 (diff)
downloadglibc-bbacd44b2a17982104a007218d46f76132abbed0.zip
glibc-bbacd44b2a17982104a007218d46f76132abbed0.tar.gz
glibc-bbacd44b2a17982104a007218d46f76132abbed0.tar.bz2
Update.
* include/netdb.h: Likewise.
-rw-r--r--ChangeLog1
-rw-r--r--include/netdb.h2
2 files changed, 2 insertions, 1 deletions
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,