summaryrefslogtreecommitdiff
path: root/libc/misc/file/lockf.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-13 10:41:14 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-13 10:41:14 +0000
commit47ccc071edc61fa61e27892c73a8a0645ac69dbb (patch)
tree5b3de53c671fc6df62d07e0091fae292feb439d6 /libc/misc/file/lockf.c
parent62f6efafe23368a27c2fc3a40fad3597f768603c (diff)
Hide chmod, lockf*
Diffstat (limited to 'libc/misc/file/lockf.c')
-rw-r--r--libc/misc/file/lockf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/file/lockf.c b/libc/misc/file/lockf.c
index 29c91482a..dd5b90b3e 100644
--- a/libc/misc/file/lockf.c
+++ b/libc/misc/file/lockf.c
@@ -24,7 +24,7 @@
/* lockf is a simplified interface to fcntl's locking facilities. */
-int lockf (int fd, int cmd, off_t len)
+int attribute_hidden __lockf (int fd, int cmd, off_t len)
{
struct flock fl;
@@ -68,3 +68,4 @@ int lockf (int fd, int cmd, off_t len)
return fcntl(fd, cmd, &fl);
}
+strong_alias(__lockf,lockf)