From c7f9ca4067f26ba3d0471d50ed3f06b047171b50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Wed, 13 Jun 2007 15:35:07 +0000 Subject: 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 --- apps/plugins/mp3_encoder.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/plugins/mp3_encoder.c') diff --git a/apps/plugins/mp3_encoder.c b/apps/plugins/mp3_encoder.c index 7037293..d1ef2e0 100644 --- a/apps/plugins/mp3_encoder.c +++ b/apps/plugins/mp3_encoder.c @@ -12,12 +12,15 @@ * Library General Public License for more details. */ #include "plugin.h" +#include "mem_function_wrappers.h" PLUGIN_HEADER PLUGIN_IRAM_DECLARE static struct plugin_api* rb; +MEM_FUNCTION_WRAPPERS(rb); + #define SAMP_PER_FRAME 1152 #define SAMPL2 576 #define SBLIMIT 32 -- cgit v1.1