[kvdb] update _fdb_kv_load(fdb_kvdb_t db) (#219)
remove function declaration in fdb_low_lvl.h; add static qualifier in fdb_kvdb.c
This commit is contained in:
parent
89796605c7
commit
cc1c6f4d9f
|
@ -50,7 +50,6 @@
|
|||
#define FDB_DATA_UNUSED 0x00000000
|
||||
#endif
|
||||
|
||||
fdb_err_t _fdb_kv_load(fdb_kvdb_t db);
|
||||
size_t _fdb_set_status(uint8_t status_table[], size_t status_num, size_t status_index);
|
||||
size_t _fdb_get_status(uint8_t status_table[], size_t status_num);
|
||||
uint32_t _fdb_continue_ff_addr(fdb_db_t db, uint32_t start, uint32_t end);
|
||||
|
|
|
@ -1586,7 +1586,7 @@ static bool check_and_recovery_kv_cb(fdb_kv_t kv, void *arg1, void *arg2)
|
|||
*
|
||||
* @return result
|
||||
*/
|
||||
fdb_err_t _fdb_kv_load(fdb_kvdb_t db)
|
||||
static fdb_err_t _fdb_kv_load(fdb_kvdb_t db)
|
||||
{
|
||||
fdb_err_t result = FDB_NO_ERR;
|
||||
struct fdb_kv kv;
|
||||
|
|
Loading…
Reference in New Issue