summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-07-26 21:39:07 -0400
committerMike Frysinger <vapier@gentoo.org>2010-07-26 21:39:07 -0400
commit94889eacb194f5a61a99e296acbd1685788242d9 (patch)
treef63afb5caa8dc360d721f33d6d66f7a893394a16
parent002c7227d4c73edc5b422c2f7f3ef42d9e775efe (diff)
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 <vapier@gentoo.org>
-rw-r--r--include/fcntl.h2
1 files changed, 0 insertions, 2 deletions
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