diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2005-02-28 20:55:31 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2005-02-28 20:55:31 +0000 |
| commit | b363d656252eed5720e9f172dafa7b56ac66a994 (patch) | |
| tree | 0e42dd388ea71cd83ee40b5007bb813cd1946dad /apps/codecs/Tremor | |
| parent | c080f7e19e96a88e9711417ac039f082b11f2655 (diff) | |
| download | rockbox-b363d656252eed5720e9f172dafa7b56ac66a994.zip rockbox-b363d656252eed5720e9f172dafa7b56ac66a994.tar.gz rockbox-b363d656252eed5720e9f172dafa7b56ac66a994.tar.bz2 rockbox-b363d656252eed5720e9f172dafa7b56ac66a994.tar.xz | |
Get malloc() and friends out of the way for the cygwin linker (and maybe others), to make plugins work properly in the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6086 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/Tremor')
| -rw-r--r-- | apps/codecs/Tremor/bitwise.c | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/block.c | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/codebook.c | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/config-tremor.h | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/floor0.c | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/floor1.c | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/framing.c | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/info.c | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/ivorbisfile_example.c | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/mapping0.c | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/misc.h | 1 | ||||
| -rw-r--r-- | apps/codecs/Tremor/res012.c | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/sharedbook.c | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/vorbisfile.c | 2 | ||||
| -rw-r--r-- | apps/codecs/Tremor/window.c | 2 |
15 files changed, 15 insertions, 14 deletions
diff --git a/apps/codecs/Tremor/bitwise.c b/apps/codecs/Tremor/bitwise.c index 6215b0f..b75ac40 100644 --- a/apps/codecs/Tremor/bitwise.c +++ b/apps/codecs/Tremor/bitwise.c @@ -18,8 +18,8 @@ /* We're 'LSb' endian; if we write a word but read individual bits, then we'll read the lsb first */ +#include "config-tremor.h" #include <string.h> -#include <stdlib.h> #include "ogg.h" static unsigned long mask[]= diff --git a/apps/codecs/Tremor/block.c b/apps/codecs/Tremor/block.c index 8949253..a4571c3 100644 --- a/apps/codecs/Tremor/block.c +++ b/apps/codecs/Tremor/block.c @@ -15,8 +15,8 @@ ********************************************************************/ +#include "config-tremor.h" #include <stdio.h> -#include <stdlib.h> #include <string.h> #include "ogg.h" #include "ivorbiscodec.h" diff --git a/apps/codecs/Tremor/codebook.c b/apps/codecs/Tremor/codebook.c index 5da8957..bb99487 100644 --- a/apps/codecs/Tremor/codebook.c +++ b/apps/codecs/Tremor/codebook.c @@ -15,7 +15,7 @@ ********************************************************************/ -#include <stdlib.h> +#include "config-tremor.h" #include <string.h> #include <math.h> #include "ogg.h" diff --git a/apps/codecs/Tremor/config-tremor.h b/apps/codecs/Tremor/config-tremor.h index a456fc2..e53c048 100644 --- a/apps/codecs/Tremor/config-tremor.h +++ b/apps/codecs/Tremor/config-tremor.h @@ -1,3 +1,5 @@ +#include "../codec.h" + #define BIG_ENDIAN 1 #define LITTLE_ENDIAN 0 #define _LOW_ACCURACY_ diff --git a/apps/codecs/Tremor/floor0.c b/apps/codecs/Tremor/floor0.c index 4ba232e..c4f8c1c 100644 --- a/apps/codecs/Tremor/floor0.c +++ b/apps/codecs/Tremor/floor0.c @@ -15,7 +15,7 @@ ********************************************************************/ -#include <stdlib.h> +#include "config-tremor.h" #include <string.h> #include <math.h> #include "ogg.h" diff --git a/apps/codecs/Tremor/floor1.c b/apps/codecs/Tremor/floor1.c index fecdc87..9bfec7e 100644 --- a/apps/codecs/Tremor/floor1.c +++ b/apps/codecs/Tremor/floor1.c @@ -15,7 +15,7 @@ ********************************************************************/ -#include <stdlib.h> +#include "config-tremor.h" #include <string.h> #include <math.h> #include "ogg.h" diff --git a/apps/codecs/Tremor/framing.c b/apps/codecs/Tremor/framing.c index 48ea6c1..419c7dc 100644 --- a/apps/codecs/Tremor/framing.c +++ b/apps/codecs/Tremor/framing.c @@ -19,7 +19,7 @@ ********************************************************************/ -#include <stdlib.h> +#include "config-tremor.h" #include <string.h> #include "ogg.h" #include "misc.h" diff --git a/apps/codecs/Tremor/info.c b/apps/codecs/Tremor/info.c index 941695e..e750c8b 100644 --- a/apps/codecs/Tremor/info.c +++ b/apps/codecs/Tremor/info.c @@ -18,7 +18,7 @@ /* general handling of the header and the vorbis_info structure (and substructures) */ -#include <stdlib.h> +#include "config-tremor.h" #include <string.h> #include <ctype.h> #include "ogg.h" diff --git a/apps/codecs/Tremor/ivorbisfile_example.c b/apps/codecs/Tremor/ivorbisfile_example.c index 1854fc4..3c34b25 100644 --- a/apps/codecs/Tremor/ivorbisfile_example.c +++ b/apps/codecs/Tremor/ivorbisfile_example.c @@ -19,8 +19,8 @@ stdout using vorbisfile. Using vorbisfile is much simpler than dealing with libvorbis. */ +#include "config-tremor.h" #include <stdio.h> -#include <stdlib.h> #include <vorbis/ivorbiscodec.h> #include <vorbis/ivorbisfile.h> diff --git a/apps/codecs/Tremor/mapping0.c b/apps/codecs/Tremor/mapping0.c index c54c896..d4ab3a6 100644 --- a/apps/codecs/Tremor/mapping0.c +++ b/apps/codecs/Tremor/mapping0.c @@ -15,7 +15,7 @@ ********************************************************************/ -#include <stdlib.h> +#include "config-tremor.h" #include <stdio.h> #include <string.h> #include <math.h> diff --git a/apps/codecs/Tremor/misc.h b/apps/codecs/Tremor/misc.h index b56f65d..ed7617d 100644 --- a/apps/codecs/Tremor/misc.h +++ b/apps/codecs/Tremor/misc.h @@ -26,7 +26,6 @@ /* Some prototypes that were not defined elsewhere */ -#include <stdlib.h> void *_vorbis_block_alloc(vorbis_block *vb,long bytes); void _vorbis_block_ripcord(vorbis_block *vb); extern int _ilog(unsigned int v); diff --git a/apps/codecs/Tremor/res012.c b/apps/codecs/Tremor/res012.c index 56e98f3..1ead185 100644 --- a/apps/codecs/Tremor/res012.c +++ b/apps/codecs/Tremor/res012.c @@ -15,7 +15,7 @@ ********************************************************************/ -#include <stdlib.h> +#include "config-tremor.h" #include <string.h> #include <math.h> #include "ogg.h" diff --git a/apps/codecs/Tremor/sharedbook.c b/apps/codecs/Tremor/sharedbook.c index a62211e..aae61bf 100644 --- a/apps/codecs/Tremor/sharedbook.c +++ b/apps/codecs/Tremor/sharedbook.c @@ -15,7 +15,7 @@ ********************************************************************/ -#include <stdlib.h> +#include "config-tremor.h" #include <math.h> #include <string.h> #include "ogg.h" diff --git a/apps/codecs/Tremor/vorbisfile.c b/apps/codecs/Tremor/vorbisfile.c index 7b9913b..d9eeed3 100644 --- a/apps/codecs/Tremor/vorbisfile.c +++ b/apps/codecs/Tremor/vorbisfile.c @@ -16,7 +16,7 @@ ********************************************************************/ -#include <stdlib.h> +#include "config-tremor.h" #include <stdio.h> #include <errno.h> #include <string.h> diff --git a/apps/codecs/Tremor/window.c b/apps/codecs/Tremor/window.c index 4d6e79e..b50e36f 100644 --- a/apps/codecs/Tremor/window.c +++ b/apps/codecs/Tremor/window.c @@ -15,7 +15,7 @@ ********************************************************************/ -#include <stdlib.h> +#include "config-tremor.h" #include <math.h> #include "os.h" #include "misc.h" |