summaryrefslogtreecommitdiff
path: root/apps/codecs/lib/fft-ffmpeg.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2011-06-01 10:28:26 +0000
committerNils Wallménius <nils@rockbox.org>2011-06-01 10:28:26 +0000
commit7c6056b352e35c5b12521b35ba193e13f75500be (patch)
treea53215338a7c78bd47ebb3afedf41c0489a97f4e /apps/codecs/lib/fft-ffmpeg.c
parent05a1984eb32dd07bcf5d54c147ace4d6f56a00b4 (diff)
downloadrockbox-7c6056b352e35c5b12521b35ba193e13f75500be.zip
rockbox-7c6056b352e35c5b12521b35ba193e13f75500be.tar.gz
rockbox-7c6056b352e35c5b12521b35ba193e13f75500be.tar.bz2
rockbox-7c6056b352e35c5b12521b35ba193e13f75500be.tar.xz
FS#12140 by Sean Bartell, Make various codec stuff static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29942 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/lib/fft-ffmpeg.c')
-rw-r--r--apps/codecs/lib/fft-ffmpeg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/codecs/lib/fft-ffmpeg.c b/apps/codecs/lib/fft-ffmpeg.c
index a76f49f..807f606 100644
--- a/apps/codecs/lib/fft-ffmpeg.c
+++ b/apps/codecs/lib/fft-ffmpeg.c
@@ -276,8 +276,8 @@ static inline FFTComplex* TRANSFORM_ZERO(FFTComplex * z, unsigned int n)
#endif
/* z[0...8n-1], w[1...2n-1] */
-void pass(FFTComplex *z_arg, unsigned int STEP_arg, unsigned int n_arg) ICODE_ATTR_TREMOR_MDCT;
-void pass(FFTComplex *z_arg, unsigned int STEP_arg, unsigned int n_arg)
+static void pass(FFTComplex *z_arg, unsigned int STEP_arg, unsigned int n_arg) ICODE_ATTR_TREMOR_MDCT;
+static void pass(FFTComplex *z_arg, unsigned int STEP_arg, unsigned int n_arg)
{
register FFTComplex * z = z_arg;
register unsigned int STEP = STEP_arg;
@@ -318,8 +318,8 @@ void pass(FFTComplex *z_arg, unsigned int STEP_arg, unsigned int n_arg)
8192/16 (from "ff_cos_16") is 512 bytes.
i.e. for fft16, STEP = 8192/16 */
#define DECL_FFT(n,n2,n4)\
-void fft##n(FFTComplex *z) ICODE_ATTR_TREMOR_MDCT;\
-void fft##n(FFTComplex *z)\
+static void fft##n(FFTComplex *z) ICODE_ATTR_TREMOR_MDCT;\
+static void fft##n(FFTComplex *z)\
{\
fft##n2(z);\
fft##n4(z+n4*2);\
@@ -379,8 +379,8 @@ static void fft8_dispatch(FFTComplex *z)
}
#ifndef CONFIG_SMALL
-void fft16(FFTComplex *z) ICODE_ATTR_TREMOR_MDCT;
-void fft16(FFTComplex *z)
+static void fft16(FFTComplex *z) ICODE_ATTR_TREMOR_MDCT;
+static void fft16(FFTComplex *z)
{
fft8(z);
fft4(z+8);