From 3a0e1cab691ea43c1b3ed5153b30b3467be874ca Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 25 Sep 2008 00:09:45 +0000 Subject: Make a local function static. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18639 a1c6a512-1295-4272-9138-f99709370657 --- firmware/decompressor/decompressor.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'firmware/decompressor/decompressor.c') diff --git a/firmware/decompressor/decompressor.c b/firmware/decompressor/decompressor.c index acc8868f16..cec82b8b09 100644 --- a/firmware/decompressor/decompressor.c +++ b/firmware/decompressor/decompressor.c @@ -36,8 +36,8 @@ extern char loadaddress[], dramend[]; extern void start(void); void main(void) ICODE_ATTR; -int ucl_nrv2e_decompress_8(const unsigned char *src, unsigned char *dst, - unsigned long *dst_len) ICODE_ATTR; +static int ucl_nrv2e_decompress_8(const unsigned char *src, unsigned char *dst, + unsigned long *dst_len) ICODE_ATTR; /* Vector table */ void (*vbr[]) (void) __attribute__ ((section (".vectors"))) = @@ -55,8 +55,8 @@ void (*vbr[]) (void) __attribute__ ((section (".vectors"))) = #define GETBIT(bb, src, ilen) \ (((bb = bb & 0x7f ? bb*2 : ((unsigned)src[ilen++]*2+1)) >> 8) & 1) -int ucl_nrv2e_decompress_8(const unsigned char *src, unsigned char *dst, - unsigned long *dst_len) +static int ucl_nrv2e_decompress_8(const unsigned char *src, unsigned char *dst, + unsigned long *dst_len) { unsigned long bb = 0; unsigned ilen = 0, olen = 0, last_m_off = 1; -- cgit v1.2.3