[git commit future 1/1] no need for hidden lockf64

Peter S. Mazinger ps.m at gmx.net
Tue Mar 15 05:45:33 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=36ba971e21b72e962a35ca58866e70ea36dde891
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 include/fcntl.h          |    1 -
 include/unistd.h         |    1 -
 libc/misc/file/lockf64.c |    1 -
 3 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/include/fcntl.h b/include/fcntl.h
index 26ad1fe..fc71368 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 6153397..0924634 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1115,7 +1115,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 1779424..be1d3e0 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)
-- 
1.7.3.4



More information about the uClibc-cvs mailing list