From c5685ed72d206c5a1c0dd2329029e2398bf9cac4 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Fri, 31 Oct 2008 18:54:27 +0000 Subject: 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 --- apps/plugin.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugin.c') 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, -- cgit v1.2.3