about summary refs log tree commit diff
path: root/nscd/nscd_getgr_r.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-02-02 16:27:57 +0000
committerUlrich Drepper <drepper@redhat.com>1999-02-02 16:27:57 +0000
commit813f4f4dff904de333642ffa8c17b9309d8f182e (patch)
treeb4b2174e80fa05212e0e1bc91d9abda4b94306dc /nscd/nscd_getgr_r.c
parentb1418d8f39dd2b26fd67c3350493431f99514285 (diff)
downloadglibc-813f4f4dff904de333642ffa8c17b9309d8f182e.tar.gz
glibc-813f4f4dff904de333642ffa8c17b9309d8f182e.tar.xz
glibc-813f4f4dff904de333642ffa8c17b9309d8f182e.zip
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_getgr_r.c')
-rw-r--r--nscd/nscd_getgr_r.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nscd/nscd_getgr_r.c b/nscd/nscd_getgr_r.c
index eb9d280eee..7d2caac088 100644
--- a/nscd/nscd_getgr_r.c
+++ b/nscd/nscd_getgr_r.c
@@ -35,7 +35,7 @@ int __nss_not_use_nscd_group;
 
 static int nscd_getgr_r (const char *key, size_t keylen, request_type type,
 			 struct group *resultbuf, char *buffer,
-			 size_t buflen);
+			 size_t buflen) internal_function;
 
 
 int
@@ -89,6 +89,7 @@ open_socket (void)
 
 
 static int
+internal_function
 nscd_getgr_r (const char *key, size_t keylen, request_type type,
 	      struct group *resultbuf, char *buffer, size_t buflen)
 {