Messages in this thread Patch in this message | | | Date | Sun, 9 Feb 2014 18:49:36 +0530 | From | Rashika Kheria <> | Subject | [PATCH 18/21] fs: Include appropriate header file in proc/proc_tty.c |
| |
Include appropriate header file in proc/proc_tty.c because header file proc/internal.h contains function prototypes of functions defined in the file.
This eliminates the following warning in proc/proc_tty.c: fs/proc/proc_tty.c:175:13: warning: no previous prototype for ‘proc_tty_init’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> --- fs/proc/proc_tty.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/fs/proc/proc_tty.c b/fs/proc/proc_tty.c index cb761f0..b42f6f6 100644 --- a/fs/proc/proc_tty.c +++ b/fs/proc/proc_tty.c @@ -14,6 +14,7 @@ #include <linux/tty.h> #include <linux/seq_file.h> #include <linux/bitops.h> +#include "internal.h" /* * The /proc/tty directory inodes... -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |