public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] fs/signalfd.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_signalfd()).

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
8b3bc8f299ba6ce251a047cb5c6a7aabc95a4f39 
diff --git a/fs/signalfd.c b/fs/signalfd.c
index fb7f7e8..60da986 100644
--- a/fs/signalfd.c
+++ b/fs/signalfd.c
@@ -27,6 +27,7 @@
 #include <linux/list.h>
 #include <linux/anon_inodes.h>
 #include <linux/signalfd.h>
+#include <linux/syscalls.h>
 
 struct signalfd_ctx {
 	sigset_t sigmask;

^ 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/signalfd.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