summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-01-03 15:55:20 +0000
committerNils Wallménius <nils@rockbox.org>2009-01-03 15:55:20 +0000
commitf501cda42dc0854ebbe5c28ea29308c6aefaeae6 (patch)
tree1bf0b0f9b7609aa09549816e24fb5574a31cc01b /uisimulator
parent60359bfffee621e2f49c9e6a3e65f6aaab56c90d (diff)
downloadrockbox-f501cda42dc0854ebbe5c28ea29308c6aefaeae6.tar.gz
rockbox-f501cda42dc0854ebbe5c28ea29308c6aefaeae6.tar.bz2
rockbox-f501cda42dc0854ebbe5c28ea29308c6aefaeae6.zip
Fix remaining red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19661 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/lcd-common.c4
-rw-r--r--uisimulator/common/stubs.c6
2 files changed, 6 insertions, 4 deletions
diff --git a/uisimulator/common/lcd-common.c b/uisimulator/common/lcd-common.c
index 52857455f9..7d40f36b0f 100644
--- a/uisimulator/common/lcd-common.c
+++ b/uisimulator/common/lcd-common.c
@@ -40,10 +40,6 @@ int lcd_default_contrast(void)
return 28;
}
-void lcd_sleep(void)
-{
-}
-
#ifdef HAVE_REMOTE_LCD
void lcd_remote_set_contrast(int val)
{
diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c
index 4a7df6887d..f50425b494 100644
--- a/uisimulator/common/stubs.c
+++ b/uisimulator/common/stubs.c
@@ -208,6 +208,12 @@ bool lcd_enabled(void)
}
#endif
+#ifdef HAVE_LCD_SLEEP
+void lcd_sleep(void)
+{
+}
+#endif
+
#ifdef HAVE_SPDIF_POWER
void spdif_power_enable(bool on)
{