From 94889eacb194f5a61a99e296acbd1685788242d9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 26 Jul 2010 21:39:07 -0400 Subject: enable fcntl nocancel prototype for all threads The cancel logic always uses this function even when !NPTL, so always enable the prototype to avoid warnings. Signed-off-by: Mike Frysinger --- include/fcntl.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/fcntl.h') diff --git a/include/fcntl.h b/include/fcntl.h index 3cfb25fc8..3a9873461 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 -- cgit v1.2.3