summaryrefslogtreecommitdiffstats
path: root/apps/eq.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-12-12 22:22:21 +0000
committerJens Arnold <amiconn@rockbox.org>2006-12-12 22:22:21 +0000
commit314f3b58f18ccbc8f5a39897681bc8579cd330d1 (patch)
treeb56b1ca14e372738b171d81c8f0ae4ac9429cc13 /apps/eq.c
parent819712f118a3e036da7042199c6d7197416ddbee (diff)
downloadrockbox-314f3b58f18ccbc8f5a39897681bc8579cd330d1.tar.gz
rockbox-314f3b58f18ccbc8f5a39897681bc8579cd330d1.zip
More static'ing, and a few fixes resulting from that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11737 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/eq.c')
-rw-r--r--apps/eq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/eq.c b/apps/eq.c
index ac2e51daee..bf562c73f2 100644
--- a/apps/eq.c
+++ b/apps/eq.c
@@ -101,7 +101,7 @@ static const unsigned long atan_table[] = {
* @return sin of phase, value is a signed value from LONG_MIN to LONG_MAX,
* representing -1 and 1 respectively.
*/
-long fsincos(unsigned long phase, long *cos) {
+static long fsincos(unsigned long phase, long *cos) {
int32_t x, x1, y, y1;
unsigned long z, z1;
int i;
@@ -164,7 +164,7 @@ static long fsqrt(long a, unsigned int fracbits)
return b;
}
-short dbtoatab[49] = {
+static const short dbtoatab[49] = {
2058, 2180, 2309, 2446, 2591, 2744, 2907, 3079, 3261, 3455, 3659, 3876,
4106, 4349, 4607, 4880, 5169, 5475, 5799, 6143, 6507, 6893, 7301, 7734,
8192, 8677, 9192, 9736, 10313, 10924, 11572, 12257, 12983, 13753, 14568,