diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-06-13 15:35:07 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-06-13 15:35:07 +0000 |
commit | c7f9ca4067f26ba3d0471d50ed3f06b047171b50 (patch) | |
tree | 9bfaf2d5019c075ad97540a2beed8d68277ca021 /apps/plugins/properties.c | |
parent | f50bd1151a65b1aeefaeab545187fba29881b800 (diff) | |
download | rockbox-c7f9ca4067f26ba3d0471d50ed3f06b047171b50.tar.gz rockbox-c7f9ca4067f26ba3d0471d50ed3f06b047171b50.zip |
Accept FS#7264 'Build with -Os switch for coldfire targets'.
Introduces MEM_FUNCTION_WRAPPERS(api) macro which adds wrappers
functions to a plugin to make plugins link correctly when gcc
calls mem* functions directly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13625 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/properties.c')
-rw-r--r-- | apps/plugins/properties.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c index ee7ff86cb7..2e2e057b64 100644 --- a/apps/plugins/properties.c +++ b/apps/plugins/properties.c @@ -17,11 +17,14 @@ * ****************************************************************************/ #include "plugin.h" +#include "mem_function_wrappers.h" PLUGIN_HEADER static struct plugin_api* rb; +MEM_FUNCTION_WRAPPERS(rb); + bool its_a_dir = false; char str_filename[MAX_PATH]; @@ -247,7 +250,6 @@ char * get_props(int selected_item, void* data, char *buffer) enum plugin_status plugin_start(struct plugin_api* api, void* file) { rb = api; - struct gui_synclist properties_lists; int button; bool prev_show_statusbar; |