changeset 25349:b257a1967539

cosmetics: Move public function declarations together.
author diego
date Wed, 12 Dec 2007 08:45:05 +0000
parents 98598befcdd7
children 2095f98cf0fa
files mp3lib/sr1.c
diffstat 1 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mp3lib/sr1.c	Wed Dec 12 08:29:55 2007 +0000
+++ b/mp3lib/sr1.c	Wed Dec 12 08:45:05 2007 +0000
@@ -386,12 +386,6 @@
 
 static int _has_mmx = 0;  // used by layer2.c, layer3.c to pre-scale coeffs
 
-extern void dct64_altivec(real *, real *, real *);
-
-#include "layer2.c"
-#include "layer3.c"
-#include "layer1.c"
-
 /******************************************************************************/
 /*           PUBLIC FUNCTIONS                  */
 /******************************************************************************/
@@ -401,8 +395,13 @@
 extern void dct64_MMX_3dnow(short *, short *, real *);
 extern void dct64_MMX_3dnowex(short *, short *, real *);
 extern void dct64_sse(short *, short *, real *);
+extern void dct64_altivec(real *, real *, real *);
 void (*dct64_MMX_func)(short *, short *, real *);
 
+#include "layer2.c"
+#include "layer3.c"
+#include "layer1.c"
+
 #include "cpudetect.h"
 
 // Init decoder tables.  Call first, once!