diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-04-01 22:30:22 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-04-01 22:30:22 +0000 |
commit | 9b48fa9b416094acd0f25a605c768f6cf3798f71 (patch) | |
tree | aafe8a96e7427e08a1468e76489e7b5c61a14c9e /include/netdb.h | |
parent | 4380ef5e29eb219706a725848c4e704762a58708 (diff) | |
download | glibc-9b48fa9b416094acd0f25a605c768f6cf3798f71.zip glibc-9b48fa9b416094acd0f25a605c768f6cf3798f71.tar.gz glibc-9b48fa9b416094acd0f25a605c768f6cf3798f71.tar.bz2 |
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.
Diffstat (limited to 'include/netdb.h')
-rw-r--r-- | include/netdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netdb.h b/include/netdb.h index 48fdddd..eeede8d 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, |