now we need to init the mstorage objects
This commit is contained in:
7
mstorage_init.c
Normal file
7
mstorage_init.c
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <mstorage.h>
|
||||
|
||||
void mstorage_init(mstorage_t* p) {
|
||||
p->root=0;
|
||||
p->mapped=p->used=0;
|
||||
p->fd=-1;
|
||||
}
|
||||
Reference in New Issue
Block a user