From fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432 Mon Sep 17 00:00:00 2001 From: Boris Gjenero Date: Mon, 19 Dec 2011 20:12:52 +0000 Subject: Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31370 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/core_alloc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/include/core_alloc.h') 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 @@ #define __CORE_ALLOC_H__ #include #include +#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); -- cgit v1.2.3