summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/core_alloc.h3
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 */
11void core_allocator_init(void); 12void core_allocator_init(void) INIT_ATTR;
12int core_alloc(const char* name, size_t size); 13int core_alloc(const char* name, size_t size);
13int core_alloc_ex(const char* name, size_t size, struct buflib_callbacks *ops); 14int core_alloc_ex(const char* name, size_t size, struct buflib_callbacks *ops);
14int core_alloc_maximum(const char* name, size_t *size, struct buflib_callbacks *ops); 15int core_alloc_maximum(const char* name, size_t *size, struct buflib_callbacks *ops);