path: root/apps/tagtree.h
diff options
authorThomas Martitz <>2010-03-03 23:20:32 +0000
committerThomas Martitz <>2010-03-03 23:20:32 +0000
commitf8edc325896c9c24d7f32f4861a0b0d2a8b9f4cd (patch)
treeb2682307d01fffb54dd68e54b8f2e2986fe6bcc6 /apps/tagtree.h
parente479853f1542616dab56817c8f5326364b663c7c (diff)
FS#10756 - Free unused init code
Introduce a new .init section for initialisation code, so that it can be copied to an area which is later overwritten before calling. The stack/bss can then overwrite that code, effectively freeing the code size that the initialisation routines need. Gives a few kB ram usage back. Only implemented for PP and as3525 so far. More targets could be added, as well as more functions. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagtree.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagtree.h b/apps/tagtree.h
index a08c7433a4..aaf5158e5b 100644
--- a/apps/tagtree.h
+++ b/apps/tagtree.h
@@ -38,7 +38,7 @@ struct tagentry {
bool tagtree_export(void);
bool tagtree_import(void);
-void tagtree_init(void);
+void tagtree_init(void) INIT_ATTR;
int tagtree_enter(struct tree_context* c);
void tagtree_exit(struct tree_context* c);
int tagtree_load(struct tree_context* c);