[git commit master 1/1] enable fcntl nocancel prototype for all threads

Mike Frysinger vapier at gentoo.org
Tue Jul 27 01:39:07 UTC 2010


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

The cancel logic always uses this function even when !NPTL, so always
enable the prototype to avoid warnings.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 include/fcntl.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/fcntl.h b/include/fcntl.h
index 3cfb25f..3a98734 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -234,9 +234,7 @@ extern int posix_fallocate64 (int __fd, __off64_t __offset, __off64_t __len);
 # endif
 #endif
 
-#ifdef __UCLIBC_HAS_THREADS_NATIVE__
 extern int __fcntl_nocancel (int fd, int cmd, ...);
-#endif
 
 __END_DECLS
 
-- 
1.7.1



More information about the uClibc-cvs mailing list