summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/codec_crt0.c4
-rw-r--r--apps/codecs/libwavpack/wavpack.h2
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
35extern enum codec_status codec_main(void); 35extern 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 */
39int _start(void) {return 0;}
40
37enum codec_status codec_start(void) 41enum 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
17typedef unsigned char uchar; 17typedef unsigned char uchar;
18typedef unsigned short ushort; 18typedef unsigned short ushort;
19#if 0 // unused and causing compiler errrors
19typedef unsigned int uint; 20typedef unsigned int uint;
21#endif
20 22
21#include <stdio.h> 23#include <stdio.h>
22 24