summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-15 15:55:17 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:24 +0200
commitbcfda18ae026b31d86eecc55cbc72dcaf41dc23a (patch)
tree12c36f324c93451abe888ddd1d2cfa3fca9cadca
parent84135275cfeebc0b233c1c96eeada4d4178a0b18 (diff)
no need for hidden lockf64
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-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)