From 813f4f4dff904de333642ffa8c17b9309d8f182e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 2 Feb 1999 16:27:57 +0000 Subject: 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. --- nscd/nscd_gethst_r.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nscd/nscd_gethst_r.c') diff --git a/nscd/nscd_gethst_r.c b/nscd/nscd_gethst_r.c index e8d9ef2495..46f1611c63 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) -- cgit v1.2.3