[PATCH] Add prototypes to lk/readpages.c

Alex Chiang achiang at hp.com
Tue Apr 1 14:38:41 PDT 2008


Sparse complains about:

 crfs/lk/readpages.c:379:5: warning: symbol 'crfs_readpages' was not declared. Should it be static?
 crfs/lk/readpages.c:403:5: warning: symbol 'crfs_readpage' was not declared. Should it be static?
 crfs/lk/readpages.c:431:5: warning: symbol 'crfs_readpage_for_prepare' was not declared. Should it be static?

So let's fix that.

Signed-off-by: Alex Chiang <achiang at hp.com>

diff -r f4a298f141f8 lk/readpages.c
--- a/lk/readpages.c	Tue Apr 01 13:33:30 2008 -0700
+++ b/lk/readpages.c	Tue Apr 01 15:31:28 2008 -0600
@@ -26,6 +26,7 @@
 #include "key.h"
 #include "debug.h"
 #include "csum.h"
+#include "readpages.h"
 
 /*
  * This stores the data that readpages uses to build messages and to 



More information about the crfs-devel mailing list