* [2.6 patch] fs/ioprio.c should #include <linux/syscalls.h>
@ 2005-10-30 15:53 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-10-30 15:53 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-kernel
Every file should include the headers containing the prototypes for
it's global functions.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.14-rc5-mm1-full/fs/ioprio.c.old 2005-10-30 16:26:29.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/fs/ioprio.c 2005-10-30 16:26:47.000000000 +0100
@@ -22,6 +22,7 @@
#include <linux/kernel.h>
#include <linux/ioprio.h>
#include <linux/blkdev.h>
+#include <linux/syscalls.h>
static int set_task_ioprio(struct task_struct *task, int ioprio)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-30 15:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-30 15:53 [2.6 patch] fs/ioprio.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