summaryrefslogtreecommitdiff
path: root/uisimulator/common/stubs.c
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-07-23 23:01:20 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-07-23 23:01:20 +0000
commitb1403ee024f81ced657261441571ee5e8bab71ce (patch)
tree3a7e1651d37bd35e801a331416654760cb61a075 /uisimulator/common/stubs.c
parent15d04fdb00e7f94aef49cf9a70e73c5a46e21536 (diff)
downloadrockbox-b1403ee024f81ced657261441571ee5e8bab71ce.tar.gz
rockbox-b1403ee024f81ced657261441571ee5e8bab71ce.zip
New way of defining menus and options allows to declare them static const, which saves the code to runtime-assemble them. Rockbox just got 6 KB smaller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4931 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common/stubs.c')
-rw-r--r--uisimulator/common/stubs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index ceb8ba1ebe..700188fe2a 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -28,6 +28,7 @@
28 28
29#include "string.h" 29#include "string.h"
30#include "lcd.h" 30#include "lcd.h"
31#include "settings.h"
31 32
32extern char having_new_lcd; 33extern char having_new_lcd;
33 34
@@ -277,3 +278,7 @@ void remove_thread(int threadnum)
277{ 278{
278 (void)threadnum; 279 (void)threadnum;
279} 280}
281
282/* assure an unused place to direct virtual pointers to */
283unsigned char vp_dummy[VIRT_SIZE];
284