summary refs log tree commit diff
path: root/nscd
diff options
context:
space:
mode:
Diffstat (limited to 'nscd')
-rw-r--r--nscd/grpcache.c4
-rw-r--r--nscd/hstcache.c16
-rw-r--r--nscd/pwdcache.c4
3 files changed, 12 insertions, 12 deletions
diff --git a/nscd/grpcache.c b/nscd/grpcache.c
index 446e78ed28..7a591c81ae 100644
--- a/nscd/grpcache.c
+++ b/nscd/grpcache.c
@@ -217,7 +217,7 @@ addgrbyname (struct database *db, int fd, request_header *req,
       seteuid (uid);
     }
 
-  while (getgrnam_r (key, &resultbuf, buffer, buflen, &grp) != 0
+  while (__getgrnam_r (key, &resultbuf, buffer, buflen, &grp) != 0
 	 && errno == ERANGE)
     {
       errno = 0;
@@ -256,7 +256,7 @@ addgrbygid (struct database *db, int fd, request_header *req,
       seteuid (uid);
     }
 
-  while (getgrgid_r (gid, &resultbuf, buffer, buflen, &grp) != 0
+  while (__getgrgid_r (gid, &resultbuf, buffer, buflen, &grp) != 0
 	 && errno == ERANGE)
     {
       errno = 0;
diff --git a/nscd/hstcache.c b/nscd/hstcache.c
index 93b71a65d6..b8a80af340 100644
--- a/nscd/hstcache.c
+++ b/nscd/hstcache.c
@@ -305,8 +305,8 @@ addhstbyname (struct database *db, int fd, request_header *req,
       seteuid (uid);
     }
 
-  while (gethostbyname2_r (key, AF_INET, &resultbuf, buffer, buflen, &hst,
-			   &h_errno) != 0
+  while (__gethostbyname2_r (key, AF_INET, &resultbuf, buffer, buflen,
+  			     &hst, &h_errno) != 0
 	 && h_errno == NETDB_INTERNAL
 	 && errno == ERANGE)
     {
@@ -349,8 +349,8 @@ addhstbyaddr (struct database *db, int fd, request_header *req,
       seteuid (uid);
     }
 
-  while (gethostbyaddr_r (key, INADDRSZ, AF_INET, &resultbuf, buffer, buflen,
-			  &hst, &h_errno) != 0
+  while (__gethostbyaddr_r (key, INADDRSZ, AF_INET, &resultbuf, buffer,
+  			    buflen, &hst, &h_errno) != 0
 	 && h_errno == NETDB_INTERNAL
 	 && errno == ERANGE)
     {
@@ -394,8 +394,8 @@ addhstbynamev6 (struct database *db, int fd, request_header *req,
       seteuid (uid);
     }
 
-  while (gethostbyname2_r (key, AF_INET6, &resultbuf, buffer, buflen, &hst,
-			   &h_errno) != 0
+  while (__gethostbyname2_r (key, AF_INET6, &resultbuf, buffer, buflen,
+  			     &hst, &h_errno) != 0
 	 && h_errno == NETDB_INTERNAL
 	 && errno == ERANGE)
     {
@@ -438,8 +438,8 @@ addhstbyaddrv6 (struct database *db, int fd, request_header *req,
       seteuid (uid);
     }
 
-  while (gethostbyaddr_r (key, IN6ADDRSZ, AF_INET6, &resultbuf, buffer, buflen,
-			  &hst, &h_errno) != 0
+  while (__gethostbyaddr_r (key, IN6ADDRSZ, AF_INET6, &resultbuf,
+  			    buffer, buflen, &hst, &h_errno) != 0
 	 && h_errno == NETDB_INTERNAL
 	 && errno == ERANGE)
     {
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c
index 95d6ec3a6a..2e54a773ff 100644
--- a/nscd/pwdcache.c
+++ b/nscd/pwdcache.c
@@ -215,7 +215,7 @@ addpwbyname (struct database *db, int fd, request_header *req,
       seteuid (c_uid);
     }
 
-  while (getpwnam_r (key, &resultbuf, buffer, buflen, &pwd) != 0
+  while (__getpwnam_r (key, &resultbuf, buffer, buflen, &pwd) != 0
 	 && errno == ERANGE)
     {
       errno = 0;
@@ -254,7 +254,7 @@ addpwbyuid (struct database *db, int fd, request_header *req,
       seteuid (c_uid);
     }
 
-  while (getpwuid_r (uid, &resultbuf, buffer, buflen, &pwd) != 0
+  while (__getpwuid_r (uid, &resultbuf, buffer, buflen, &pwd) != 0
 	 && errno == ERANGE)
     {
       errno = 0;