diff options
Diffstat (limited to 'firmware/include/core_alloc.h')
-rw-r--r-- | firmware/include/core_alloc.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/include/core_alloc.h b/firmware/include/core_alloc.h index 13d8165be2..8011c227b1 100644 --- a/firmware/include/core_alloc.h +++ b/firmware/include/core_alloc.h | |||
@@ -11,9 +11,9 @@ | |||
11 | * they have a predefined context | 11 | * they have a predefined context |
12 | */ | 12 | */ |
13 | void core_allocator_init(void) INIT_ATTR; | 13 | void core_allocator_init(void) INIT_ATTR; |
14 | int core_alloc(const char* name, size_t size); | 14 | int core_alloc(size_t size); |
15 | int core_alloc_ex(const char* name, size_t size, struct buflib_callbacks *ops); | 15 | int core_alloc_ex(size_t size, struct buflib_callbacks *ops); |
16 | int core_alloc_maximum(const char* name, size_t *size, struct buflib_callbacks *ops); | 16 | int core_alloc_maximum(size_t *size, struct buflib_callbacks *ops); |
17 | bool core_shrink(int handle, void* new_start, size_t new_size); | 17 | bool core_shrink(int handle, void* new_start, size_t new_size); |
18 | void core_pin(int handle); | 18 | void core_pin(int handle); |
19 | void core_unpin(int handle); | 19 | void core_unpin(int handle); |
@@ -21,7 +21,6 @@ unsigned core_pin_count(int handle); | |||
21 | int core_free(int handle); | 21 | int core_free(int handle); |
22 | size_t core_available(void); | 22 | size_t core_available(void); |
23 | size_t core_allocatable(void); | 23 | size_t core_allocatable(void); |
24 | const char* core_get_name(int handle); | ||
25 | #ifdef DEBUG | 24 | #ifdef DEBUG |
26 | void core_check_valid(void); | 25 | void core_check_valid(void); |
27 | #endif | 26 | #endif |