summaryrefslogtreecommitdiff
path: root/apps/plugin.c
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 /apps/plugin.c
parent52cb0096626304f3a09cfe7fb2e41e78b3d1dc9d (diff)
downloadrockbox-c5685ed72d206c5a1c0dd2329029e2398bf9cac4.tar.gz
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
Diffstat (limited to 'apps/plugin.c')
-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 = {
147 gui_scrollbar_draw, 147 gui_scrollbar_draw,
148#endif 148#endif
149 149
150#ifdef HAVE_BACKLIGHT
150 backlight_on, 151 backlight_on,
151 backlight_off, 152 backlight_off,
152 backlight_set_timeout, 153 backlight_set_timeout,
@@ -158,6 +159,7 @@ static const struct plugin_api rockbox_api = {
158 backlight_set_timeout_plugged, 159 backlight_set_timeout_plugged,
159#endif 160#endif
160 is_backlight_on, 161 is_backlight_on,
162#endif /* HAVE_BACKLIGHT */
161 splash, 163 splash,
162 splashf, 164 splashf,
163 165