From 3691435c25b73925029df0c606bfd584f0799621 Mon Sep 17 00:00:00 2001 From: Yoshihisa Uchida Date: Wed, 7 Jul 2010 12:42:15 +0000 Subject: plugin api: new functions set the end of the structure. thanks to Frank Gevaerts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27335 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 1196a88195..4c0ec84aa0 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -565,10 +565,6 @@ static const struct plugin_api rockbox_api = { /* statusbars */ &statusbars, gui_syncstatusbar_draw, -#ifdef HAVE_LCD_BITMAP - sb_skin_get_info_vp, - sb_skin_update, -#endif /* options */ get_settings_list, @@ -722,6 +718,12 @@ static const struct plugin_api rockbox_api = { #endif rbversion, + +#ifdef HAVE_LCD_BITMAP + sb_skin_get_info_vp, + sb_skin_update, +#endif + /* new stuff at the end, sort into place next time the API gets incompatible */ }; -- cgit v1.2.3