summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sys
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-02-21 00:29:13 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-02-21 00:29:13 +0000
commit0e4997508d271a0e4b6e2a68efae8f1943aa21e5 (patch)
tree897aaf9ee4aedaad1b20c789e654ebc61ee06da9 /sysdeps/unix/sysv/linux/sys
parent5ad91f6e6fbb999a16a3c331ae1cee87bf3fc499 (diff)
Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys')
-rw-r--r--sysdeps/unix/sysv/linux/sys/timerfd.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/timerfd.h b/sysdeps/unix/sysv/linux/sys/timerfd.h
index 5074454378..989382a26b 100644
--- a/sysdeps/unix/sysv/linux/sys/timerfd.h
+++ b/sysdeps/unix/sysv/linux/sys/timerfd.h
@@ -20,15 +20,8 @@
#include <time.h>
-
-/* Bits to be set in the FLAGS parameter of `timerfd_create'. */
-enum
- {
- TFD_CLOEXEC = 02000000,
-#define TFD_CLOEXEC TFD_CLOEXEC
- TFD_NONBLOCK = 04000
-#define TFD_NONBLOCK TFD_NONBLOCK
- };
+/* Get the platform-dependent flags. */
+#include <bits/timerfd.h>
/* Bits to be set in the FLAGS parameter of `timerfd_settime'. */