[git commit] no need for hidden lockf64

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:24 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=bcfda18ae026b31d86eecc55cbc72dcaf41dc23a
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 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 65b83bf..3dc53a4 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 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)


More information about the uClibc-cvs mailing list