Fix compilation errors
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
f8d4573fa1
commit
8604c79ab5
|
@ -36,6 +36,7 @@ static Ecore_Idler *_save_idler = NULL;
|
||||||
static Ecore_Timer *_save_timer = NULL;
|
static Ecore_Timer *_save_timer = NULL;
|
||||||
static Eina_List *_grids = NULL;
|
static Eina_List *_grids = NULL;
|
||||||
static uint64_t _allocated = 0;
|
static uint64_t _allocated = 0;
|
||||||
|
static Alloc *alloc[MEM_BLOCKS] = { 0 };
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_alloc_roundup_block_size(int sz)
|
_alloc_roundup_block_size(int sz)
|
||||||
|
@ -157,7 +158,7 @@ _grid_save_free(void *ptr)
|
||||||
sz = sizeof(Grid_Save_Comp) + gs->w;
|
sz = sizeof(Grid_Save_Comp) + gs->w;
|
||||||
else
|
else
|
||||||
sz = sizeof(Grid_Save) + ((gs->w - 1) * sizeof(Grid_Cell));
|
sz = sizeof(Grid_Save) + ((gs->w - 1) * sizeof(Grid_Cell));
|
||||||
sz = roundup_block_size(sz);
|
sz = _alloc_roundup_block_size(sz);
|
||||||
_allocated -= sz;
|
_allocated -= sz;
|
||||||
|
|
||||||
al = _alloc_find(ptr);
|
al = _alloc_find(ptr);
|
||||||
|
|
Loading…
Reference in New Issue