diff options
| author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-10-05 02:17:27 +0000 |
|---|---|---|
| committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-10-05 02:17:27 +0000 |
| commit | fac05ab2f755318bb42ce0eca55eb4061358bad1 (patch) | |
| tree | ab72ba8a48a5b481b13c95f654f9f4e22caf8b6a /apps | |
| parent | 5949250ce11c83c36cdbd4bc39509aefba0cc26c (diff) | |
| download | rockbox-fac05ab2f755318bb42ce0eca55eb4061358bad1.zip rockbox-fac05ab2f755318bb42ce0eca55eb4061358bad1.tar.gz rockbox-fac05ab2f755318bb42ce0eca55eb4061358bad1.tar.bz2 rockbox-fac05ab2f755318bb42ce0eca55eb4061358bad1.tar.xz | |
Fix Red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22935 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugin.c | 3 | ||||
| -rw-r--r-- | apps/plugin.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index c37b2fb..a205926 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -668,8 +668,9 @@ static const struct plugin_api rockbox_api = { appsversion, /* new stuff at the end, sort into place next time the API gets incompatible */ - +#ifdef HAVE_BUTTON_DATA button_status_wdata, +#endif }; int plugin_load(const char* plugin, const void* parameter) diff --git a/apps/plugin.h b/apps/plugin.h index 344026f..b060104 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -837,7 +837,9 @@ struct plugin_api { /* new stuff at the end, sort into place next time the API gets incompatible */ +#ifdef HAVE_BUTTON_DATA int (*button_status_wdata)(int *pdata); +#endif }; /* plugin header */ |