mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Remove buflib allocation names, part two
Remove allocation names from the buflib API and fix up all callers. Change-Id: I3df922e258d5f0d711d70e72b56b4ed634fb0f5a
This commit is contained in:
parent
3301c5aa6d
commit
1e9ad3ca0d
39 changed files with 69 additions and 115 deletions
|
|
@ -151,7 +151,7 @@ static int updater_init(struct updater* u)
|
|||
|
||||
/* buf_len is a bit oversized here, but it's not really important */
|
||||
u->buf_len = u->img_len + sizeof(mtar_t) + 2*CACHEALIGN_SIZE;
|
||||
u->buf_hnd = core_alloc_ex("boot_image", u->buf_len, &buflib_ops_locked);
|
||||
u->buf_hnd = core_alloc_ex(u->buf_len, &buflib_ops_locked);
|
||||
if(u->buf_hnd < 0) {
|
||||
rc = IERR_OUT_OF_MEMORY;
|
||||
goto error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue