projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs All of the quick_tests programs are now working.
[yaffs2.git]
/
yaffs_getblockinfo.h
diff --git
a/yaffs_getblockinfo.h
b/yaffs_getblockinfo.h
index 432441bb891aa51a4597dec83c9b0c3f6c280ef1..108c361261049ac2bb6ddf0df8af3f388fcdc1f0 100644
(file)
--- a/
yaffs_getblockinfo.h
+++ b/
yaffs_getblockinfo.h
@@
-20,12
+20,13
@@
#include "yaffs_trace.h"
/* Function to manipulate block info */
#include "yaffs_trace.h"
/* Function to manipulate block info */
-static Y_INLINE yaffs_block_info_t *yaffs_get_block_info(yaffs_dev_t * dev, int blk)
+static Y_INLINE struct yaffs_block_info *yaffs_get_block_info(struct yaffs_dev
+ *dev, int blk)
{
if (blk < dev->internal_start_block || blk > dev->internal_end_block) {
T(YAFFS_TRACE_ERROR,
(TSTR
{
if (blk < dev->internal_start_block || blk > dev->internal_end_block) {
T(YAFFS_TRACE_ERROR,
(TSTR
- ("**>> yaffs: get
BlockI
nfo block %d is not valid" TENDSTR),
+ ("**>> yaffs: get
_block_i
nfo block %d is not valid" TENDSTR),
blk));
YBUG();
}
blk));
YBUG();
}