projects/linux·commit 45cc2b96

fs/timerfd.c should #include <linux/syscalls.h>

45cc2b96 · Adrian Bunk <[email protected]> · 2008-04-29 00:58:59 -07:00

Every file should include the headers containing the prototypes for its global
functions (in this case for sys_timerfd_*()).

Signed-off-by: Adrian Bunk <[email protected]>
Cc: Davide Libenzi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
45cc2b96f20fa27088a650587e5d9dc5fa5e32c0
Parents
f17a32e9

Changes

1 files changed · +1 −0

FileStatusAddDelContent
fs/timerfd.cmodified+1−0View file

fs/timerfd.c

View file
diff --git a/fs/timerfd.c b/fs/timerfd.c
index 10c80b5..5400524 100644
--- a/fs/timerfd.c
+++ b/fs/timerfd.c
@@ -20,6 +20,7 @@
#include <linux/hrtimer.h>
#include <linux/anon_inodes.h>
#include <linux/timerfd.h>
+#include <linux/syscalls.h>
struct timerfd_ctx {
struct hrtimer tmr;