From 1b14167861bb5bf4c692f8fc661b33e26a706183 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 16 Nov 2008 17:49:37 +0000 Subject: Centralise compile-time configuration. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19121 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/demac/libdemac/entropy.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'apps/codecs/demac/libdemac/entropy.c') diff --git a/apps/codecs/demac/libdemac/entropy.c b/apps/codecs/demac/libdemac/entropy.c index baddce07be..54ff226bce 100644 --- a/apps/codecs/demac/libdemac/entropy.c +++ b/apps/codecs/demac/libdemac/entropy.c @@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA #include "parser.h" #include "entropy.h" -#include "demac_iram.h" +#include "demac_config.h" #define MODEL_ELEMENTS 64 @@ -115,20 +115,11 @@ each function (and the RNGC macro)). */ -#ifdef ROCKBOX -#include "../lib/codeclib.h" -/* for UDIV32() */ -#endif - -#ifndef UDIV32 -#define UDIV32(a, b) (a / b) -#endif - /* BITSTREAM READING FUNCTIONS */ /* We deal with the input data one byte at a time - to ensure functionality on CPUs of any endianness regardless of any requirements - for aligned reads. + for aligned reads. */ static unsigned char* bytebuffer IBSS_ATTR; -- cgit v1.2.3