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/chip8.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/chip8.c')
-rw-r--r-- | apps/plugins/chip8.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/chip8.c b/apps/plugins/chip8.c index c38a5fd0bb..f76379e5f4 100644 --- a/apps/plugins/chip8.c +++ b/apps/plugins/chip8.c | |||
@@ -1062,7 +1062,7 @@ static unsigned char beep[]={255, | |||
1062 | 111,181,184,144, 17,148, 21,101,166,227,100, 86, 85, 85, 85}; | 1062 | 111,181,184,144, 17,148, 21,101,166,227,100, 86, 85, 85, 85}; |
1063 | 1063 | ||
1064 | /* callback to request more mp3 data */ | 1064 | /* callback to request more mp3 data */ |
1065 | void callback(unsigned char** start, int* size) | 1065 | void callback(unsigned char** start, size_t* size) |
1066 | { | 1066 | { |
1067 | *start = beep; /* give it the same frame again */ | 1067 | *start = beep; /* give it the same frame again */ |
1068 | *size = sizeof(beep); | 1068 | *size = sizeof(beep); |