diff options
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/codec_crt0.c | 4 | ||||
-rw-r--r-- | apps/codecs/libwavpack/wavpack.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/codecs/codec_crt0.c b/apps/codecs/codec_crt0.c index dd0f99ffd8..c680030fee 100644 --- a/apps/codecs/codec_crt0.c +++ b/apps/codecs/codec_crt0.c | |||
@@ -34,6 +34,10 @@ extern unsigned char plugin_end_addr[]; | |||
34 | 34 | ||
35 | extern enum codec_status codec_main(void); | 35 | extern enum codec_status codec_main(void); |
36 | 36 | ||
37 | /* stub, the entry point is called via its reference in __header to | ||
38 | * avoid warning with certain compilers */ | ||
39 | int _start(void) {return 0;} | ||
40 | |||
37 | enum codec_status codec_start(void) | 41 | enum codec_status codec_start(void) |
38 | { | 42 | { |
39 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) | 43 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) |
diff --git a/apps/codecs/libwavpack/wavpack.h b/apps/codecs/libwavpack/wavpack.h index 5b5385a521..ee7c969b4c 100644 --- a/apps/codecs/libwavpack/wavpack.h +++ b/apps/codecs/libwavpack/wavpack.h | |||
@@ -16,7 +16,9 @@ | |||
16 | 16 | ||
17 | typedef unsigned char uchar; | 17 | typedef unsigned char uchar; |
18 | typedef unsigned short ushort; | 18 | typedef unsigned short ushort; |
19 | #if 0 // unused and causing compiler errrors | ||
19 | typedef unsigned int uint; | 20 | typedef unsigned int uint; |
21 | #endif | ||
20 | 22 | ||
21 | #include <stdio.h> | 23 | #include <stdio.h> |
22 | 24 | ||