diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2008-10-31 18:54:27 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2008-10-31 18:54:27 +0000 |
| commit | c5685ed72d206c5a1c0dd2329029e2398bf9cac4 (patch) | |
| tree | 3a99ee735feffcdb963ab92edbd439996383065c /apps/plugin.c | |
| parent | 52cb0096626304f3a09cfe7fb2e41e78b3d1dc9d (diff) | |
| download | rockbox-c5685ed72d206c5a1c0dd2329029e2398bf9cac4.zip rockbox-c5685ed72d206c5a1c0dd2329029e2398bf9cac4.tar.gz rockbox-c5685ed72d206c5a1c0dd2329029e2398bf9cac4.tar.bz2 rockbox-c5685ed72d206c5a1c0dd2329029e2398bf9cac4.tar.xz | |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 13c8298..9a7e9b5 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, |