[JFFS2] Add declaration of jffs2_lzo_{init,exit} to compr.h

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Jul 11 10:59:01 EDT 2007


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=0fc72b81d3111d114ab378935b1cf07680ca1289
Commit:     0fc72b81d3111d114ab378935b1cf07680ca1289
Parent:     3b23c1f5fa7e4c99e9451958a1004ef7434a71f0
Author:     David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Wed Jul 11 15:33:14 2007 +0100
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Wed Jul 11 15:33:14 2007 +0100

    [JFFS2] Add declaration of jffs2_lzo_{init,exit} to compr.h
    
    fs/jffs2/compr.c: In function ‘jffs2_compressors_init’:
    fs/jffs2/compr.c:320: warning: implicit declaration of function ‘jffs2_lzo_init’
    fs/jffs2/compr.c: In function ‘jffs2_compressors_exit’:
    fs/jffs2/compr.c:346: warning: implicit declaration of function ‘jffs2_lzo_exit’
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 fs/jffs2/compr.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/fs/jffs2/compr.h b/fs/jffs2/compr.h
index e1b7efb..7d1d72f 100644
--- a/fs/jffs2/compr.h
+++ b/fs/jffs2/compr.h
@@ -94,5 +94,9 @@ void jffs2_rtime_exit(void);
 int jffs2_zlib_init(void);
 void jffs2_zlib_exit(void);
 #endif
+#ifdef CONFIG_JFFS2_LZO
+int jffs2_lzo_init(void);
+void jffs2_lzo_exit(void);
+#endif
 
 #endif /* __JFFS2_COMPR_H__ */



More information about the linux-mtd-cvs mailing list