summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2011-03-19 10:14:12 +0000
committerNils Wallménius <nils@rockbox.org>2011-03-19 10:14:12 +0000
commit5aaabbfd127321f68931c155a8a481a8107531b2 (patch)
tree72744ff02c8039db29508fad241ea6a332a5df5e
parent528e1850bf081298c010815c1788cf36585f2a0a (diff)
downloadrockbox-5aaabbfd127321f68931c155a8a481a8107531b2.tar.gz
rockbox-5aaabbfd127321f68931c155a8a481a8107531b2.zip
FS#12014 by Huan Zhang fixing some link errors with a recent mips toolchain.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29615 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libmusepack/requant.h6
-rw-r--r--apps/plugins/fft/const.h20
-rw-r--r--apps/plugins/goban/display.h4
-rw-r--r--apps/plugins/rockboy/cpu.c2
-rw-r--r--apps/plugins/rockboy/rockmacros.h2
5 files changed, 17 insertions, 17 deletions
diff --git a/apps/codecs/libmusepack/requant.h b/apps/codecs/libmusepack/requant.h
index 8458d4d0fa..908fda30eb 100644
--- a/apps/codecs/libmusepack/requant.h
+++ b/apps/codecs/libmusepack/requant.h
@@ -47,9 +47,9 @@ extern "C" {
47 47
48 48
49/* C O N S T A N T S */ 49/* C O N S T A N T S */
50const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer 50extern const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer
51const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients 51extern const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients
52const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset 52extern const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset
53 53
54#define Cc (__Cc + 1) 54#define Cc (__Cc + 1)
55#define Dc (__Dc + 1) 55#define Dc (__Dc + 1)
diff --git a/apps/plugins/fft/const.h b/apps/plugins/fft/const.h
index c6842f4c07..865f4b0f7f 100644
--- a/apps/plugins/fft/const.h
+++ b/apps/plugins/fft/const.h
@@ -1,11 +1,11 @@
1const int16_t hamming_8192[8192]; 1extern const int16_t hamming_8192[8192];
2const int16_t hamming_4096[4096]; 2extern const int16_t hamming_4096[4096];
3const int16_t hamming_2048[2048]; 3extern const int16_t hamming_2048[2048];
4const int16_t hamming_1024[1024]; 4extern const int16_t hamming_1024[1024];
5const int16_t hamming_512[512]; 5extern const int16_t hamming_512[512];
6const int16_t hann_8192[8192]; 6extern const int16_t hann_8192[8192];
7const int16_t hann_4096[4096]; 7extern const int16_t hann_4096[4096];
8const int16_t hann_2048[2048]; 8extern const int16_t hann_2048[2048];
9const int16_t hann_1024[1024]; 9extern const int16_t hann_1024[1024];
10const int16_t hann_512[512]; 10extern const int16_t hann_512[512];
11 11
diff --git a/apps/plugins/goban/display.h b/apps/plugins/goban/display.h
index 2f64f1b6ca..c6b03a2af2 100644
--- a/apps/plugins/goban/display.h
+++ b/apps/plugins/goban/display.h
@@ -38,10 +38,10 @@ extern unsigned short cursor_pos;
38extern bool draw_variations; 38extern bool draw_variations;
39 39
40/* Used to set the zoom level, loaded in from the config file */ 40/* Used to set the zoom level, loaded in from the config file */
41unsigned int saved_circle_size; 41extern unsigned int saved_circle_size;
42 42
43/* the size of one intersection on the board, in pixels */ 43/* the size of one intersection on the board, in pixels */
44unsigned int intersection_size; 44extern unsigned int intersection_size;
45 45
46/* Clear the marks from the board */ 46/* Clear the marks from the board */
47void clear_marks_display (void); 47void clear_marks_display (void);
diff --git a/apps/plugins/rockboy/cpu.c b/apps/plugins/rockboy/cpu.c
index e1d1324c4b..392dd49b5f 100644
--- a/apps/plugins/rockboy/cpu.c
+++ b/apps/plugins/rockboy/cpu.c
@@ -15,7 +15,7 @@
15 15
16 16
17struct cpu cpu IBSS_ATTR; 17struct cpu cpu IBSS_ATTR;
18 18bool plugbuf;
19 19
20#define ZFLAG(n) ( (n) ? 0 : FZ ) 20#define ZFLAG(n) ( (n) ? 0 : FZ )
21 21
diff --git a/apps/plugins/rockboy/rockmacros.h b/apps/plugins/rockboy/rockmacros.h
index 4a6822d410..724a0fb96d 100644
--- a/apps/plugins/rockboy/rockmacros.h
+++ b/apps/plugins/rockboy/rockmacros.h
@@ -97,7 +97,7 @@ struct options {
97 int dirty; 97 int dirty;
98}; 98};
99 99
100bool plugbuf; 100extern bool plugbuf;
101 101
102extern struct options options; 102extern struct options options;
103#define savedir ROCKBOX_DIR "/rockboy" 103#define savedir ROCKBOX_DIR "/rockboy"