From cb97aadebfeba7f5e8f1b85beee5ab10e88c2990 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 20 Nov 2008 22:11:44 +0000 Subject: Last portion of libc_hidden_proto removal. Appears to build fine (several .configs tried) --- include/fcntl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/fcntl.h') diff --git a/include/fcntl.h b/include/fcntl.h index 31a0149a7..4356dad60 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -82,6 +82,7 @@ extern int __REDIRECT (fcntl, (int __fd, int __cmd, ...), fcntl64); #endif #ifdef __USE_LARGEFILE64 extern int fcntl64 (int __fd, int __cmd, ...); +libc_hidden_proto(fcntl64) #endif /* Open FILE and return a new file descriptor for it, or -1 on error. @@ -103,6 +104,7 @@ extern int __REDIRECT (open, (__const char *__file, int __oflag, ...), open64) #endif #ifdef __USE_LARGEFILE64 extern int open64 (__const char *__file, int __oflag, ...) __nonnull ((1)); +libc_hidden_proto(open64) #endif #if 0 /*def __USE_GNU*/ @@ -167,6 +169,7 @@ extern int creat64 (__const char *__file, __mode_t __mode) __nonnull ((1)); # ifndef __USE_FILE_OFFSET64 extern int lockf (int __fd, int __cmd, __off_t __len); +libc_hidden_proto(lockf) # else # ifdef __REDIRECT extern int __REDIRECT (lockf, (int __fd, int __cmd, __off64_t __len), lockf64); @@ -176,6 +179,7 @@ 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 -- cgit v1.2.3