diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-04-27 12:52:11 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-04-27 12:52:11 +0000 |
commit | 08bedf83051064c7dc9a7bb903ab9a34afe8d725 (patch) | |
tree | ac8606643c781d350b27b6a948579c9e718f8323 /apps/codecs/lib/codeclib.c | |
parent | 1a68986bc5d13db4508797700dff99638dccc88c (diff) | |
download | rockbox-08bedf83051064c7dc9a7bb903ab9a34afe8d725.tar.gz rockbox-08bedf83051064c7dc9a7bb903ab9a34afe8d725.zip |
Having a default weak codec_main symbol doesn't seem to be working out for compiling the sim under cygwin in at least some cases. Just implement it explicitly in all cases.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29789 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/lib/codeclib.c')
-rw-r--r-- | apps/codecs/lib/codeclib.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/codecs/lib/codeclib.c b/apps/codecs/lib/codeclib.c index 443c0bbdcf..3a46f6d06b 100644 --- a/apps/codecs/lib/codeclib.c +++ b/apps/codecs/lib/codeclib.c | |||
@@ -33,16 +33,6 @@ unsigned char* mp3buf; // The actual MP3 buffer from Rockbox | |||
33 | unsigned char* mallocbuf; // 512K from the start of MP3 buffer | 33 | unsigned char* mallocbuf; // 512K from the start of MP3 buffer |
34 | unsigned char* filebuf; // The rest of the MP3 buffer | 34 | unsigned char* filebuf; // The rest of the MP3 buffer |
35 | 35 | ||
36 | /* this is the default codec entry point for when nothing needs to be done | ||
37 | on load or unload */ | ||
38 | enum codec_status __attribute__((weak)) | ||
39 | codec_main(enum codec_entry_call_reason reason) | ||
40 | { | ||
41 | /* Nothing to do */ | ||
42 | return CODEC_OK; | ||
43 | (void)reason; | ||
44 | } | ||
45 | |||
46 | int codec_init(void) | 36 | int codec_init(void) |
47 | { | 37 | { |
48 | mem_ptr = 0; | 38 | mem_ptr = 0; |