projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applied patch 13-sparse-fix--make-some-symbol-static.diff
[yaffs2.git]
/
yaffs_ramem.c
diff --git
a/yaffs_ramem.c
b/yaffs_ramem.c
index f4166166dea5d1eb187c73d0c90b527426c66a51..21c936f1e309c1a286cd4174a82789caeeeb8caa 100644
(file)
--- a/
yaffs_ramem.c
+++ b/
yaffs_ramem.c
@@
-15,7
+15,7
@@
//yaffs_ramem.c
// Since this creates the RAM block at start up it is pretty useless for testing the scanner.
//yaffs_ramem.c
// Since this creates the RAM block at start up it is pretty useless for testing the scanner.
-const char *yaffs_ramem_c_version = "$Id: yaffs_ramem.c,v 1.
3 2005-07-29 19:57:38 luc
Exp $";
+const char *yaffs_ramem_c_version = "$Id: yaffs_ramem.c,v 1.
4 2005-07-31 04:08:08 marty
Exp $";
#ifndef __KERNEL__
#define CONFIG_YAFFS_RAM_ENABLED
#ifndef __KERNEL__
#define CONFIG_YAFFS_RAM_ENABLED
@@
-100,7
+100,7
@@
static void nandemul_ReallyEraseBlock(int blockNumber)
}
}
-int nandemul_CalcNBlocks(void)
+
static
int nandemul_CalcNBlocks(void)
{
switch(sizeInMB)
{
{
switch(sizeInMB)
{
@@
-259,7
+259,7
@@
int nandemul_ReadChunkFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, ya
}
}
-int nandemul_CheckChunkErased(yaffs_Device *dev,int chunkInNAND)
+
static
int nandemul_CheckChunkErased(yaffs_Device *dev,int chunkInNAND)
{
int blk;
int pg;
{
int blk;
int pg;