From 1e3ed744798aea993d884b449d99f2c4e4387747 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Tue, 12 Aug 2008 22:01:55 +0000 Subject: Made local functions static for vorbis and speex codecs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18263 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/Tremor/sharedbook.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/codecs/Tremor/sharedbook.c') diff --git a/apps/codecs/Tremor/sharedbook.c b/apps/codecs/Tremor/sharedbook.c index 6d1226e..edabf3c 100644 --- a/apps/codecs/Tremor/sharedbook.c +++ b/apps/codecs/Tremor/sharedbook.c @@ -68,7 +68,7 @@ static ogg_int32_t _float32_unpack(long val,int *point){ /* given a list of word lengths, generate a list of codewords. Works for length ordered or unordered, always assigns the lowest valued codewords first. Extended to handle unused entries (length 0) */ -ogg_uint32_t *_make_words(long *l,long n,long sparsecount){ +static ogg_uint32_t *_make_words(long *l,long n,long sparsecount){ long i,j,count=0; ogg_uint32_t marker[33]; ogg_uint32_t *r=(ogg_uint32_t *)ogg_tmpmalloc((sparsecount?sparsecount:n)*sizeof(*r)); @@ -179,8 +179,8 @@ long _book_maptype1_quantvals(const static_codebook *b){ the values in the quant vector). in map type 2, all the values came in in an explicit list. Both value lists must be unpacked */ -ogg_int32_t *_book_unquantize(const static_codebook *b,int n,int *sparsemap, - int *maxpoint){ +static ogg_int32_t *_book_unquantize(const static_codebook *b,int n, + int *sparsemap,int *maxpoint){ long j,k,count=0; if(b->maptype==1 || b->maptype==2){ int quantvals; -- cgit v1.1