22 Jun 12:03
[2.6 patch] fs/jffs2/: make 2 functions static
Adrian Bunk <bunk <at> stusta.de>
2006-06-22 10:03:35 GMT
2006-06-22 10:03:35 GMT
This patch makes two needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk <at> stusta.de>
---
fs/jffs2/malloc.c | 2 +-
fs/jffs2/nodelist.h | 2 --
fs/jffs2/scan.c | 4 ++--
3 files changed, 3 insertions(+), 5 deletions(-)
--- linux-2.6.17-mm1-full/fs/jffs2/malloc.c.old 2006-06-22 11:31:15.000000000 +0200
+++ linux-2.6.17-mm1-full/fs/jffs2/malloc.c 2006-06-22 11:31:23.000000000 +0200
@@ -190,7 +190,7 @@
kmem_cache_free(tmp_dnode_info_slab, x);
}
-struct jffs2_raw_node_ref *jffs2_alloc_refblock(void)
+static struct jffs2_raw_node_ref *jffs2_alloc_refblock(void)
{
struct jffs2_raw_node_ref *ret;
--- linux-2.6.17-mm1-full/fs/jffs2/nodelist.h.old 2006-06-22 11:31:31.000000000 +0200
+++ linux-2.6.17-mm1-full/fs/jffs2/nodelist.h 2006-06-22 11:31:38.000000000 +0200
@@ -427,8 +427,6 @@
/* scan.c */
int jffs2_scan_medium(struct jffs2_sb_info *c);
void jffs2_rotate_lists(struct jffs2_sb_info *c);
-int jffs2_fill_scan_buf(struct jffs2_sb_info *c, void *buf,
- uint32_t ofs, uint32_t len);
(Continue reading)
RSS Feed