summaryrefslogtreecommitdiff
path: root/libc/pwd_grp/lckpwdf.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-13 21:38:57 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-13 21:38:57 +0000
commitf32600208f4e9db972eb47f7d4959994b31199e6 (patch)
tree2a9b75b74b8cf126b816ee32a36727977b5c3de3 /libc/pwd_grp/lckpwdf.c
parent01015a4321d2af6b665a90a20ea349f02bde6f81 (diff)
Convert all users of earlier hiddens
Diffstat (limited to 'libc/pwd_grp/lckpwdf.c')
-rw-r--r--libc/pwd_grp/lckpwdf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/pwd_grp/lckpwdf.c b/libc/pwd_grp/lckpwdf.c
index 72f8e3c83..f99e9f026 100644
--- a/libc/pwd_grp/lckpwdf.c
+++ b/libc/pwd_grp/lckpwdf.c
@@ -73,7 +73,7 @@ int lckpwdf (void)
}
/* Make sure file gets correctly closed when process finished. */
- flags = fcntl (lock_fd, F_GETFD, 0);
+ flags = __fcntl (lock_fd, F_GETFD, 0);
if (flags == -1) {
/* Cannot get file flags. */
__close(lock_fd);
@@ -82,7 +82,7 @@ int lckpwdf (void)
return -1;
}
flags |= FD_CLOEXEC; /* Close on exit. */
- if (fcntl (lock_fd, F_SETFD, flags) < 0) {
+ if (__fcntl (lock_fd, F_SETFD, flags) < 0) {
/* Cannot set new flags. */
__close(lock_fd);
lock_fd = -1;
@@ -131,7 +131,7 @@ int lckpwdf (void)
__memset (&fl, '\0', sizeof (struct flock));
fl.l_type = F_WRLCK;
fl.l_whence = SEEK_SET;
- result = fcntl (lock_fd, F_SETLKW, &fl);
+ result = __fcntl (lock_fd, F_SETLKW, &fl);
/* Clear alarm. */
alarm (0);