diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-15 23:55:39 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-13 10:32:54 +0000 |
commit | 1e9ad3ca0d9bf3e917eb2beb460421155144760a (patch) | |
tree | 752590b42f338f03223e024fc5b642ac9a8a5598 /apps/talk.c | |
parent | 3301c5aa6db76832dbb9af8f72d29b348190fd91 (diff) | |
download | rockbox-1e9ad3ca0d9bf3e917eb2beb460421155144760a.tar.gz rockbox-1e9ad3ca0d9bf3e917eb2beb460421155144760a.zip |
Remove buflib allocation names, part two
Remove allocation names from the buflib API and fix up all callers.
Change-Id: I3df922e258d5f0d711d70e72b56b4ed634fb0f5a
Diffstat (limited to 'apps/talk.c')
-rw-r--r-- | apps/talk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/talk.c b/apps/talk.c index 65368e973f..2ef7fea84d 100644 --- a/apps/talk.c +++ b/apps/talk.c | |||
@@ -496,7 +496,7 @@ static bool load_index_table(int fd, const struct voicefile_header *hdr) | |||
496 | return true; | 496 | return true; |
497 | 497 | ||
498 | ssize_t alloc_size = (hdr->id1_max + hdr->id2_max) * sizeof(struct clip_entry); | 498 | ssize_t alloc_size = (hdr->id1_max + hdr->id2_max) * sizeof(struct clip_entry); |
499 | index_handle = core_alloc_ex("voice index", alloc_size, &talk_ops); | 499 | index_handle = core_alloc_ex(alloc_size, &talk_ops); |
500 | if (index_handle < 0) | 500 | if (index_handle < 0) |
501 | return false; | 501 | return false; |
502 | 502 | ||
@@ -536,7 +536,7 @@ static bool load_header(int fd, struct voicefile_header *hdr) | |||
536 | static bool create_clip_buffer(size_t max_size) | 536 | static bool create_clip_buffer(size_t max_size) |
537 | { | 537 | { |
538 | /* just allocate, populate on an as-needed basis later */ | 538 | /* just allocate, populate on an as-needed basis later */ |
539 | talk_handle = core_alloc_ex("voice data", max_size, &talk_ops); | 539 | talk_handle = core_alloc_ex(max_size, &talk_ops); |
540 | if (talk_handle < 0) | 540 | if (talk_handle < 0) |
541 | goto alloc_err; | 541 | goto alloc_err; |
542 | 542 | ||