diff options
Diffstat (limited to 'firmware/include/core_alloc.h')
-rw-r--r-- | firmware/include/core_alloc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/include/core_alloc.h b/firmware/include/core_alloc.h index 0ac7e5b73d..d234947db1 100644 --- a/firmware/include/core_alloc.h +++ b/firmware/include/core_alloc.h | |||
@@ -3,12 +3,13 @@ | |||
3 | #define __CORE_ALLOC_H__ | 3 | #define __CORE_ALLOC_H__ |
4 | #include <string.h> | 4 | #include <string.h> |
5 | #include <stdbool.h> | 5 | #include <stdbool.h> |
6 | #include "config.h" | ||
6 | #include "buflib.h" | 7 | #include "buflib.h" |
7 | 8 | ||
8 | /* All functions below are wrappers for functions in buflib.h, except | 9 | /* All functions below are wrappers for functions in buflib.h, except |
9 | * they have a predefined context | 10 | * they have a predefined context |
10 | */ | 11 | */ |
11 | void core_allocator_init(void); | 12 | void core_allocator_init(void) INIT_ATTR; |
12 | int core_alloc(const char* name, size_t size); | 13 | int core_alloc(const char* name, size_t size); |
13 | int core_alloc_ex(const char* name, size_t size, struct buflib_callbacks *ops); | 14 | int core_alloc_ex(const char* name, size_t size, struct buflib_callbacks *ops); |
14 | int core_alloc_maximum(const char* name, size_t *size, struct buflib_callbacks *ops); | 15 | int core_alloc_maximum(const char* name, size_t *size, struct buflib_callbacks *ops); |