diff options
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/file/lockf.c | 3 | ||||
-rw-r--r-- | libc/misc/file/lockf64.c | 3 |
2 files changed, 4 insertions, 2 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) 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) |