diff options
| author | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-19 20:12:52 +0000 |
|---|---|---|
| committer | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-19 20:12:52 +0000 |
| commit | fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432 (patch) | |
| tree | 3855b7ea3a288059458b847b4bdfabd5c48ccce4 /firmware/include/core_alloc.h | |
| parent | 7d61376ef80bc6ac7a817201729ee1e612625ef6 (diff) | |
| download | rockbox-fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432.zip rockbox-fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432.tar.gz rockbox-fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432.tar.bz2 rockbox-fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432.tar.xz | |
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
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 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); |