[git commit future] fcntl.h: add missing prototypes for __open[2]_nocancel
Peter S. Mazinger
ps.m at gmx.net
Wed Apr 20 10:50:38 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=2d6853e2c04c4c61323941d6bf8186c5706d4885
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 | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/fcntl.h b/include/fcntl.h
index e4a00cf..38b28bb 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -102,7 +102,11 @@ libc_hidden_proto(fcntl64)
__THROW. */
#ifndef __USE_FILE_OFFSET64
extern int open (__const char *__file, int __oflag, ...) __nonnull ((1));
+# ifdef _LIBC
+extern int __open2_nocancel(const char *, int) __nonnull ((1)) attribute_hidden;
+extern int __open_nocancel(const char *, int, mode_t) __nonnull ((1)) attribute_hidden;
libc_hidden_proto(open)
+# endif
#else
# ifdef __REDIRECT
extern int __REDIRECT (open, (__const char *__file, int __oflag, ...), open64)
--
1.7.3.4
More information about the uClibc-cvs
mailing list