summaryrefslogtreecommitdiff
path: root/firmware/include/core_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/core_alloc.h')
-rw-r--r--firmware/include/core_alloc.h7
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 */
13void core_allocator_init(void) INIT_ATTR; 13void core_allocator_init(void) INIT_ATTR;
14int core_alloc(const char* name, size_t size); 14int core_alloc(size_t size);
15int core_alloc_ex(const char* name, size_t size, struct buflib_callbacks *ops); 15int core_alloc_ex(size_t size, struct buflib_callbacks *ops);
16int core_alloc_maximum(const char* name, size_t *size, struct buflib_callbacks *ops); 16int core_alloc_maximum(size_t *size, struct buflib_callbacks *ops);
17bool core_shrink(int handle, void* new_start, size_t new_size); 17bool core_shrink(int handle, void* new_start, size_t new_size);
18void core_pin(int handle); 18void core_pin(int handle);
19void core_unpin(int handle); 19void core_unpin(int handle);
@@ -21,7 +21,6 @@ unsigned core_pin_count(int handle);
21int core_free(int handle); 21int core_free(int handle);
22size_t core_available(void); 22size_t core_available(void);
23size_t core_allocatable(void); 23size_t core_allocatable(void);
24const char* core_get_name(int handle);
25#ifdef DEBUG 24#ifdef DEBUG
26void core_check_valid(void); 25void core_check_valid(void);
27#endif 26#endif