[2.6 patch] fs/ioprio.c should #include <linux/syscalls.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Every file should include the headers containing the prototypes for
it's global functions.


Signed-off-by: Adrian Bunk <[email protected]>

--- 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)
 {

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux