aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/fcntl.c4
-rw-r--r--sysdeps/unix/sysv/linux/i386/fcntl.c4
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/fcntl.c b/sysdeps/unix/sysv/linux/fcntl.c
index ab8d9cfb9c..87fa2ffe31 100644
--- a/sysdeps/unix/sysv/linux/fcntl.c
+++ b/sysdeps/unix/sysv/linux/fcntl.c
@@ -18,17 +18,17 @@
#include <assert.h>
#include <errno.h>
+#include <sysdep-cancel.h> /* Must come before <fcntl.h>. */
#include <fcntl.h>
#include <stdarg.h>
-#include <sysdep-cancel.h>
#include <sys/syscall.h>
-int
#ifdef NO_CANCELLATION
static inline __attribute ((always_inline))
#endif
+int
__fcntl_nocancel (int fd, int cmd, ...)
{
va_list ap;
diff --git a/sysdeps/unix/sysv/linux/i386/fcntl.c b/sysdeps/unix/sysv/linux/i386/fcntl.c
index da65721ea2..7787c5863b 100644
--- a/sysdeps/unix/sysv/linux/i386/fcntl.c
+++ b/sysdeps/unix/sysv/linux/i386/fcntl.c
@@ -18,10 +18,10 @@
#include <assert.h>
#include <errno.h>
+#include <sysdep-cancel.h> /* Must come before <fcntl.h>. */
#include <fcntl.h>
#include <stdarg.h>
-#include <sysdep-cancel.h>
#include <sys/syscall.h>
#include "../kernel-features.h"
@@ -31,10 +31,10 @@ int __have_no_fcntl64;
#endif
-int
#ifdef NO_CANCELLATION
static inline __attribute ((always_inline))
#endif
+int
__fcntl_nocancel (int fd, int cmd, ...)
{
va_list ap;
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c
index 4b60a163ce..95b817bc40 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c
@@ -18,17 +18,17 @@
#include <assert.h>
#include <errno.h>
+#include <sysdep-cancel.h> /* Must come before <fcntl.h>. */
#include <fcntl.h>
#include <stdarg.h>
-#include <sysdep-cancel.h>
#include <sys/syscall.h>
-int
#ifdef NO_CANCELLATION
static inline __attribute ((always_inline))
#endif
+int
__fcntl_nocancel (int fd, int cmd, ...)
{
va_list ap;