From 4c175fd2896b848609d7e290ab9ab096df4f65d1 Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Thu, 21 Apr 2011 23:07:08 +0200
Subject: [PATCH 319/396] fcntl.h: add missing prototypes for __open[2]_nocancel

Signed-off-by: Peter S. Mazinger <ps.m@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.0.4

