From 8e22f7f5b048cf7a46a3132cfbc9f2e38ccec076 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Mon, 29 Dec 2008 19:49:48 +0000 Subject: Make local functions static in codecs, where possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19612 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/mpa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/codecs/mpa.c') 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; -- cgit v1.2.3