summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sys
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-02-13 20:27:59 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-02-13 20:27:59 +0000
commit2a418ac326831b112d32fb1b29c4a351f07fac98 (patch)
tree2fbb2d3c0d298b4e83994342a706e3045aceec00 /sysdeps/unix/sysv/linux/sys
parente19e83c5d2ead7a5ab5fa7afa6fed1a427dc2465 (diff)
downloadglibc-2a418ac326831b112d32fb1b29c4a351f07fac98.tar.gz
Split architecture-specific parts of sys/eventfd.h into bits/eventfd.h.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys')
-rw-r--r--sysdeps/unix/sysv/linux/sys/eventfd.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/eventfd.h b/sysdeps/unix/sysv/linux/sys/eventfd.h
index cca4316dbb..1602c7eded 100644
--- a/sysdeps/unix/sysv/linux/sys/eventfd.h
+++ b/sysdeps/unix/sysv/linux/sys/eventfd.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007, 2008, 2009 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
@@ -20,21 +20,12 @@
#include <stdint.h>
+/* Get the platform-dependent flags. */
+#include <bits/eventfd.h>
/* Type for event counter. */
typedef uint64_t eventfd_t;
-/* Flags for signalfd. */
-enum
- {
- EFD_SEMAPHORE = 1,
-#define EFD_SEMAPHORE EFD_SEMAPHORE
- EFD_CLOEXEC = 02000000,
-#define EFD_CLOEXEC EFD_CLOEXEC
- EFD_NONBLOCK = 04000
-#define EFD_NONBLOCK EFD_NONBLOCK
- };
-
__BEGIN_DECLS