summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/fcntl.h1
-rw-r--r--include/unistd.h1
-rw-r--r--libc/misc/file/lockf64.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index 26ad1fe6d..fc7136862 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -184,7 +184,6 @@ extern int __REDIRECT (lockf, (int __fd, int __cmd, __off64_t __len), lockf64);
# endif
# ifdef __USE_LARGEFILE64
extern int lockf64 (int __fd, int __cmd, __off64_t __len);
-libc_hidden_proto(lockf64)
# endif
#endif
diff --git a/include/unistd.h b/include/unistd.h
index 65b83bfb5..3dc53a4ca 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1124,7 +1124,6 @@ extern int __REDIRECT (lockf, (int __fd, int __cmd, __off64_t __len),
# endif
# ifdef __USE_LARGEFILE64
extern int lockf64 (int __fd, int __cmd, __off64_t __len) __wur;
-libc_hidden_proto(lockf64)
# endif
#endif /* Use misc and F_LOCK not already defined. */
diff --git a/libc/misc/file/lockf64.c b/libc/misc/file/lockf64.c
index 177942445..be1d3e0ca 100644
--- a/libc/misc/file/lockf64.c
+++ b/libc/misc/file/lockf64.c
@@ -90,4 +90,3 @@ int lockf64 (int fd, int cmd, off64_t len64)
return fcntl(fd, cmd, &fl);
}
-libc_hidden_def(lockf64)