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
This commit is contained in:
parent
52cb009662
commit
c5685ed72d
1 changed files with 2 additions and 0 deletions
|
@ -147,6 +147,7 @@ static const struct plugin_api rockbox_api = {
|
||||||
gui_scrollbar_draw,
|
gui_scrollbar_draw,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_BACKLIGHT
|
||||||
backlight_on,
|
backlight_on,
|
||||||
backlight_off,
|
backlight_off,
|
||||||
backlight_set_timeout,
|
backlight_set_timeout,
|
||||||
|
@ -158,6 +159,7 @@ static const struct plugin_api rockbox_api = {
|
||||||
backlight_set_timeout_plugged,
|
backlight_set_timeout_plugged,
|
||||||
#endif
|
#endif
|
||||||
is_backlight_on,
|
is_backlight_on,
|
||||||
|
#endif /* HAVE_BACKLIGHT */
|
||||||
splash,
|
splash,
|
||||||
splashf,
|
splashf,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue