comparison src/cs/drivers/drv_app/ffs/board/core.h @ 65:3ba29033523a

src/cs/drivers/drv_app/ffs/board/core.h: slight reordering to pass gcc
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Jul 2018 00:13:49 +0000
parents b6a5e36de839
children
comparison
equal deleted inserted replaced
64:66920678cfe3 65:3ba29033523a
120 /****************************************************************************** 120 /******************************************************************************
121 * External declarations 121 * External declarations
122 ******************************************************************************/ 122 ******************************************************************************/
123 123
124 extern struct fs_s fs; 124 extern struct fs_s fs;
125 extern struct block_stat_s bstat[FFS_BLOCKS_MAX];
126 125
127 extern struct ffs_stats_s stats; 126 extern struct ffs_stats_s stats;
128 127
129 extern const struct block_info_s *binfo; 128 extern const struct block_info_s *binfo;
130 129
200 blocksize_t used; // number of used bytes 199 blocksize_t used; // number of used bytes
201 blocksize_t lost; // number of lost bytes 200 blocksize_t lost; // number of lost bytes
202 uint16 flags; // flash block flags (first 16 bits of each block) 201 uint16 flags; // flash block flags (first 16 bits of each block)
203 uint16 objects; // number of valid objects 202 uint16 objects; // number of valid objects
204 }; 203 };
204
205 extern struct block_stat_s bstat[FFS_BLOCKS_MAX];
205 206
206 207
207 /****************************************************************************** 208 /******************************************************************************
208 * Object Types 209 * Object Types
209 ******************************************************************************/ 210 ******************************************************************************/