about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sys
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-02-15 20:10:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-02-15 20:11:20 +0000
commit8e475601f62c115115df1639599f573d2e78d7b7 (patch)
treecbcb9014ce58138594e22c9afa6a77341ed950c8 /sysdeps/unix/sysv/linux/sys
parentd463ab10dd4a3eab1a569e35428ad671f9fd500f (diff)
downloadglibc-8e475601f62c115115df1639599f573d2e78d7b7.tar.gz
glibc-8e475601f62c115115df1639599f573d2e78d7b7.tar.xz
glibc-8e475601f62c115115df1639599f573d2e78d7b7.zip
Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys')
-rw-r--r--sysdeps/unix/sysv/linux/sys/signalfd.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/signalfd.h b/sysdeps/unix/sysv/linux/sys/signalfd.h
index d8a9a48ac5..46a8d479f1 100644
--- a/sysdeps/unix/sysv/linux/sys/signalfd.h
+++ b/sysdeps/unix/sysv/linux/sys/signalfd.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 2007-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,6 +22,8 @@
 #include <signal.h>
 #include <stdint.h>
 
+/* Get the platform-dependent flags.  */
+#include <bits/signalfd.h>
 
 struct signalfd_siginfo
 {
@@ -44,15 +46,6 @@ struct signalfd_siginfo
   uint8_t __pad[48];
 };
 
-/* Flags for signalfd.  */
-enum
-  {
-    SFD_CLOEXEC = 02000000,
-#define SFD_CLOEXEC SFD_CLOEXEC
-    SFD_NONBLOCK = 04000
-#define SFD_NONBLOCK SFD_NONBLOCK
-  };
-
 __BEGIN_DECLS
 
 /* Request notification for delivery of signals in MASK to be