Re: [2.6 patch] fs/proc/kmsg.c should #include <linux/proc_fs.h>

From: Alexey Dobriyan
Date: Sun Feb 17 2008 - 05:04:20 EST


On Sun, Feb 17, 2008 at 10:20:48AM +0200, Adrian Bunk wrote:
> Every file should include the headers containing the externs its global
> code (in this case for struct proc_kmsg_operations).

It should be moved to fs/proc/internal.h to where it belongs.

> --- a/fs/proc/kmsg.c
> +++ b/fs/proc/kmsg.c
> @@ -11,6 +11,7 @@
> #include <linux/kernel.h>
> #include <linux/poll.h>
> #include <linux/fs.h>
> +#include <linux/proc_fs.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/