summaryrefslogtreecommitdiff
path: root/libc/misc/file/lockf64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/file/lockf64.c')
-rw-r--r--libc/misc/file/lockf64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/file/lockf64.c b/libc/misc/file/lockf64.c
index 63c2ddfbe..23f88f179 100644
--- a/libc/misc/file/lockf64.c
+++ b/libc/misc/file/lockf64.c
@@ -50,7 +50,7 @@ extern int fcntl64 (int fd, int cmd, ...);
/* lockf is a simplified interface to fcntl's locking facilities. */
-int lockf64 (int fd, int cmd, off64_t len64)
+int attribute_hidden __lockf64 (int fd, int cmd, off64_t len64)
{
struct flock fl;
off_t len = (off_t) len64;
@@ -103,3 +103,4 @@ int lockf64 (int fd, int cmd, off64_t len64)
return fcntl(fd, cmd, &fl);
}
+strong_alias(__lockf64,lockf64)