diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-02-02 16:27:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-02-02 16:27:57 +0000 |
commit | 813f4f4dff904de333642ffa8c17b9309d8f182e (patch) | |
tree | b4b2174e80fa05212e0e1bc91d9abda4b94306dc /nscd/nscd_gethst_r.c | |
parent | b1418d8f39dd2b26fd67c3350493431f99514285 (diff) | |
download | glibc-813f4f4dff904de333642ffa8c17b9309d8f182e.zip glibc-813f4f4dff904de333642ffa8c17b9309d8f182e.tar.gz glibc-813f4f4dff904de333642ffa8c17b9309d8f182e.tar.bz2 |
Update.
* nscd/nscd_getpw_r.c (nscd_getpw_r): Mark as internal and take
extra argument with length of key string.
(__nscd_getpwnam_r): Call nscd_getpw_r with extra argument.
(__nscd_getpwuid_r): Create key string on stack.
* nscd/nscd_getgr_r.c: Mark local functions as internal.
* nscd/nscd_gethst_r.c: Likewise.
Diffstat (limited to 'nscd/nscd_gethst_r.c')
-rw-r--r-- | nscd/nscd_gethst_r.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nscd/nscd_gethst_r.c b/nscd/nscd_gethst_r.c index e8d9ef2..46f1611 100644 --- a/nscd/nscd_gethst_r.c +++ b/nscd/nscd_gethst_r.c @@ -37,7 +37,7 @@ int __nss_not_use_nscd_hosts; static int nscd_gethst_r (const char *key, size_t keylen, request_type type, struct hostent *resultbuf, char *buffer, - size_t buflen, int *h_errnop); + size_t buflen, int *h_errnop) internal_function; int @@ -114,6 +114,7 @@ open_socket (void) static int +internal_function nscd_gethst_r (const char *key, size_t keylen, request_type type, struct hostent *resultbuf, char *buffer, size_t buflen, int *h_errnop) |