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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/include/core_alloc.h b/firmware/include/core_alloc.h
index 0ac7e5b..d234947 100644
--- a/firmware/include/core_alloc.h
+++ b/firmware/include/core_alloc.h
@@ -3,12 +3,13 @@
#define __CORE_ALLOC_H__
#include <string.h>
#include <stdbool.h>
+#include "config.h"
#include "buflib.h"
/* All functions below are wrappers for functions in buflib.h, except
* they have a predefined context
*/
-void core_allocator_init(void);
+void core_allocator_init(void) INIT_ATTR;
int core_alloc(const char* name, size_t size);
int core_alloc_ex(const char* name, size_t size, struct buflib_callbacks *ops);
int core_alloc_maximum(const char* name, size_t *size, struct buflib_callbacks *ops);