From 8e475601f62c115115df1639599f573d2e78d7b7 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 15 Feb 2012 20:10:22 +0000 Subject: Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h. --- sysdeps/unix/sysv/linux/sys/signalfd.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'sysdeps/unix/sysv/linux/sys') diff --git a/sysdeps/unix/sysv/linux/sys/signalfd.h b/sysdeps/unix/sysv/linux/sys/signalfd.h index d8a9a48..46a8d47 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 #include +/* Get the platform-dependent flags. */ +#include 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 -- cgit v1.1