Discussion:
[2.6 patch] jffs_fm.c should #include "intrep.h"
Adrian Bunk
2005-11-01 20:49:54 UTC
Permalink
Every file should #include the headers containing the prototypes for
it's global functions.


Signed-off-by: Adrian Bunk <***@stusta.de>

--- linux-2.6.14-rc5-mm1-full/fs/jffs/jffs_fm.c.old 2005-11-01 20:25:45.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/fs/jffs/jffs_fm.c 2005-11-01 20:26:01.000000000 +0100
@@ -20,6 +20,7 @@
#include <linux/blkdev.h>
#include <linux/jffs.h>
#include "jffs_fm.h"
+#include "intrep.h"

#if defined(JFFS_MARK_OBSOLETE) && JFFS_MARK_OBSOLETE
static int jffs_mark_obsolete(struct jffs_fmcontrol *fmc, __u32 fm_offset);
Loading...