From 5da9f08469c8143b3f4a06fdf117683e3b1bf394 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 18 Jul 1999 05:33:11 +0000 Subject: Update. * resolv/netdb.h: Adjust parameters of gethostbyaddr and gethostbyaddr_r. * inet/gethstbyad.c: Correct type of len parameter. * inet/gethstbyad_r.c: Likewise. --- resolv/netdb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resolv') diff --git a/resolv/netdb.h b/resolv/netdb.h index 5ad1df2c21..3afb0516d8 100644 --- a/resolv/netdb.h +++ b/resolv/netdb.h @@ -113,7 +113,7 @@ extern struct hostent *gethostent __P ((void)); /* Return entry from host data base which address match ADDR with length LEN and type TYPE. */ -extern struct hostent *gethostbyaddr __P ((__const char *__addr, int __len, +extern struct hostent *gethostbyaddr __P ((__const char *__addr, size_t __len, int __type)); /* Return entry from host data base for host with NAME. */ @@ -135,7 +135,7 @@ extern int gethostent_r __P ((struct hostent *__restrict __result_buf, struct hostent **__restrict __result, int *__restrict __h_errnop)); -extern int gethostbyaddr_r __P ((__const char *__restrict __addr, int __len, +extern int gethostbyaddr_r __P ((__const char *__restrict __addr, size_t __len, int __type, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, -- cgit v1.2.1