diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2008-12-29 19:49:48 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-12-29 19:49:48 +0000 |
commit | 8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076 (patch) | |
tree | c03dc8a4e2178274d6583662a23a5675223a6a98 /apps/codecs/mpa.c | |
parent | 6316e0ff53e0c8b3a1f2edf61fc54017eb997e20 (diff) |
Make local functions static in codecs, where possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19612 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/mpa.c')
-rw-r--r-- | apps/codecs/mpa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index 37a1afadfa..1a0b03c272 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c @@ -56,7 +56,7 @@ unsigned char mad_main_data[MAD_BUFFER_MDLEN] IBSS_ATTR; int mpeg_latency[3] = { 0, 481, 529 }; int mpeg_framesize[3] = {384, 1152, 1152}; -void init_mad(void) +static void init_mad(void) { ci->memset(&stream, 0, sizeof(struct mad_stream)); ci->memset(&frame, 0, sizeof(struct mad_frame)); @@ -85,7 +85,7 @@ void init_mad(void) } -int get_file_pos(int newtime) +static int get_file_pos(int newtime) { int pos = -1; struct mp3entry *id3 = ci->id3; |