diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-09-25 00:09:45 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-09-25 00:09:45 +0000 |
commit | 3a0e1cab691ea43c1b3ed5153b30b3467be874ca (patch) | |
tree | 54a0f44079c480d13f42d68f2eac15fd4dd4ed70 /firmware | |
parent | 0fdee7a86cbef40aded328e7ac45768e9adda953 (diff) | |
download | rockbox-3a0e1cab691ea43c1b3ed5153b30b3467be874ca.tar.gz rockbox-3a0e1cab691ea43c1b3ed5153b30b3467be874ca.zip |
Make a local function static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18639 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/decompressor/decompressor.c | 8 |
1 files changed, 4 insertions, 4 deletions
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[]; | |||
36 | extern void start(void); | 36 | extern void start(void); |
37 | 37 | ||
38 | void main(void) ICODE_ATTR; | 38 | void main(void) ICODE_ATTR; |
39 | int ucl_nrv2e_decompress_8(const unsigned char *src, unsigned char *dst, | 39 | static int ucl_nrv2e_decompress_8(const unsigned char *src, unsigned char *dst, |
40 | unsigned long *dst_len) ICODE_ATTR; | 40 | unsigned long *dst_len) ICODE_ATTR; |
41 | 41 | ||
42 | /* Vector table */ | 42 | /* Vector table */ |
43 | void (*vbr[]) (void) __attribute__ ((section (".vectors"))) = | 43 | void (*vbr[]) (void) __attribute__ ((section (".vectors"))) = |
@@ -55,8 +55,8 @@ void (*vbr[]) (void) __attribute__ ((section (".vectors"))) = | |||
55 | #define GETBIT(bb, src, ilen) \ | 55 | #define GETBIT(bb, src, ilen) \ |
56 | (((bb = bb & 0x7f ? bb*2 : ((unsigned)src[ilen++]*2+1)) >> 8) & 1) | 56 | (((bb = bb & 0x7f ? bb*2 : ((unsigned)src[ilen++]*2+1)) >> 8) & 1) |
57 | 57 | ||
58 | int ucl_nrv2e_decompress_8(const unsigned char *src, unsigned char *dst, | 58 | static int ucl_nrv2e_decompress_8(const unsigned char *src, unsigned char *dst, |
59 | unsigned long *dst_len) | 59 | unsigned long *dst_len) |
60 | { | 60 | { |
61 | unsigned long bb = 0; | 61 | unsigned long bb = 0; |
62 | unsigned ilen = 0, olen = 0, last_m_off = 1; | 62 | unsigned ilen = 0, olen = 0, last_m_off = 1; |