From 9b48fa9b416094acd0f25a605c768f6cf3798f71 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 1 Apr 2000 22:30:22 +0000 Subject: Update. * include/netdb.h: Change type of first parameter of __getnetbyaddr_r. * inet/getnetbyad.c: Likewise. * inet/getnetbyad_r.c: Likewise. * nis/nss_nis/nis-network.c: Likewise. * nis/nssplus_nis/nisplus-network.c: Likewise. * nss/nss_files/files-network.c: Likewise. * resolv/netdb.h: Define uint32_t if not already happened. Include bits/netdb.h. Remove definition of struct netent. Change type of first parameter of getnetbyaddr_r and getnetbyaddr. * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere. * sysdeps/generic/bits/netdb.h: New file. * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file. --- include/netdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/netdb.h b/include/netdb.h index 48fdddd7d4..eeede8de40 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -31,7 +31,7 @@ extern int __getnetent_r (struct netent *__restrict __result_buf, struct netent **__restrict __result, int *__restrict __h_errnop); -extern int __getnetbyaddr_r (unsigned long int __net, int __type, +extern int __getnetbyaddr_r (uint32_t __net, int __type, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, -- cgit v1.2.3