summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-10-31 18:54:27 +0000
committerRafaël Carré <rafael.carre@gmail.com>2008-10-31 18:54:27 +0000
commitc5685ed72d206c5a1c0dd2329029e2398bf9cac4 (patch)
tree3a99ee735feffcdb963ab92edbd439996383065c
parent52cb0096626304f3a09cfe7fb2e41e78b3d1dc9d (diff)
downloadrockbox-c5685ed72d206c5a1c0dd2329029e2398bf9cac4.tar.gz
rockbox-c5685ed72d206c5a1c0dd2329029e2398bf9cac4.tar.bz2
rockbox-c5685ed72d206c5a1c0dd2329029e2398bf9cac4.zip
apps/plugin.c : do not declare backlight_* part of rockbox api
if HAVE_BACKLIGHT is not defined git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18947 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 13c829805f..9a7e9b578c 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -147,6 +147,7 @@ static const struct plugin_api rockbox_api = {
gui_scrollbar_draw,
#endif
+#ifdef HAVE_BACKLIGHT
backlight_on,
backlight_off,
backlight_set_timeout,
@@ -158,6 +159,7 @@ static const struct plugin_api rockbox_api = {
backlight_set_timeout_plugged,
#endif
is_backlight_on,
+#endif /* HAVE_BACKLIGHT */
splash,
splashf,