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 /bootloader/x1000 | |
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 'bootloader/x1000')
-rw-r--r-- | bootloader/x1000/boot.c | 2 | ||||
-rw-r--r-- | bootloader/x1000/utils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/x1000/boot.c b/bootloader/x1000/boot.c index 9e22192516..8b44641604 100644 --- a/bootloader/x1000/boot.c +++ b/bootloader/x1000/boot.c | |||
@@ -72,7 +72,7 @@ static int read_linux_args(const char* filename) | |||
72 | int ret; | 72 | int ret; |
73 | 73 | ||
74 | size_t max_size; | 74 | size_t max_size; |
75 | int handle = core_alloc_maximum("args", &max_size, &buflib_ops_locked); | 75 | int handle = core_alloc_maximum(&max_size, &buflib_ops_locked); |
76 | if(handle <= 0) { | 76 | if(handle <= 0) { |
77 | splashf(5*HZ, "Out of memory"); | 77 | splashf(5*HZ, "Out of memory"); |
78 | return -2; | 78 | return -2; |
diff --git a/bootloader/x1000/utils.c b/bootloader/x1000/utils.c index a2fd500f5d..8d296b234b 100644 --- a/bootloader/x1000/utils.c +++ b/bootloader/x1000/utils.c | |||
@@ -103,7 +103,7 @@ int load_rockbox(const char* filename, size_t* sizep) | |||
103 | if(check_disk(true) != DISK_PRESENT) | 103 | if(check_disk(true) != DISK_PRESENT) |
104 | return -1; | 104 | return -1; |
105 | 105 | ||
106 | int handle = core_alloc_maximum("rockbox", sizep, &buflib_ops_locked); | 106 | int handle = core_alloc_maximum(sizep, &buflib_ops_locked); |
107 | if(handle < 0) { | 107 | if(handle < 0) { |
108 | splashf(5*HZ, "Out of memory"); | 108 | splashf(5*HZ, "Out of memory"); |
109 | return -2; | 109 | return -2; |