* [2.6 patch] fs/eventfd.c should #include <linux/syscalls.h>
@ 2007-11-03 0:04 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-11-03 0:04 UTC (permalink / raw)
To: Davide Libenzi; +Cc: linux-kernel
Every file should include the headers containing the prototypes for
its global functions (in this case sys_eventfd()).
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
5cf38f68bfaefff7992322fb92bdac533561e7ae
diff --git a/fs/eventfd.c b/fs/eventfd.c
index 2ce19c0..a9f130c 100644
--- a/fs/eventfd.c
+++ b/fs/eventfd.c
@@ -15,6 +15,7 @@
#include <linux/spinlock.h>
#include <linux/anon_inodes.h>
#include <linux/eventfd.h>
+#include <linux/syscalls.h>
struct eventfd_ctx {
wait_queue_head_t wqh;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-03 0:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-03 0:04 [2.6 patch] fs/eventfd.c should #include <linux/syscalls.h> Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox