From 5aaabbfd127321f68931c155a8a481a8107531b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Sat, 19 Mar 2011 10:14:12 +0000 Subject: 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 --- apps/plugins/fft/const.h | 20 ++++++++++---------- apps/plugins/goban/display.h | 4 ++-- apps/plugins/rockboy/cpu.c | 2 +- apps/plugins/rockboy/rockmacros.h | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/fft/const.h b/apps/plugins/fft/const.h index c6842f4..865f4b0 100644 --- a/apps/plugins/fft/const.h +++ b/apps/plugins/fft/const.h @@ -1,11 +1,11 @@ -const int16_t hamming_8192[8192]; -const int16_t hamming_4096[4096]; -const int16_t hamming_2048[2048]; -const int16_t hamming_1024[1024]; -const int16_t hamming_512[512]; -const int16_t hann_8192[8192]; -const int16_t hann_4096[4096]; -const int16_t hann_2048[2048]; -const int16_t hann_1024[1024]; -const int16_t hann_512[512]; +extern const int16_t hamming_8192[8192]; +extern const int16_t hamming_4096[4096]; +extern const int16_t hamming_2048[2048]; +extern const int16_t hamming_1024[1024]; +extern const int16_t hamming_512[512]; +extern const int16_t hann_8192[8192]; +extern const int16_t hann_4096[4096]; +extern const int16_t hann_2048[2048]; +extern const int16_t hann_1024[1024]; +extern const int16_t hann_512[512]; diff --git a/apps/plugins/goban/display.h b/apps/plugins/goban/display.h index 2f64f1b..c6b03a2 100644 --- a/apps/plugins/goban/display.h +++ b/apps/plugins/goban/display.h @@ -38,10 +38,10 @@ extern unsigned short cursor_pos; extern bool draw_variations; /* Used to set the zoom level, loaded in from the config file */ -unsigned int saved_circle_size; +extern unsigned int saved_circle_size; /* the size of one intersection on the board, in pixels */ -unsigned int intersection_size; +extern unsigned int intersection_size; /* Clear the marks from the board */ void clear_marks_display (void); diff --git a/apps/plugins/rockboy/cpu.c b/apps/plugins/rockboy/cpu.c index e1d1324..392dd49 100644 --- a/apps/plugins/rockboy/cpu.c +++ b/apps/plugins/rockboy/cpu.c @@ -15,7 +15,7 @@ struct cpu cpu IBSS_ATTR; - +bool plugbuf; #define ZFLAG(n) ( (n) ? 0 : FZ ) diff --git a/apps/plugins/rockboy/rockmacros.h b/apps/plugins/rockboy/rockmacros.h index 4a6822d..724a0fb 100644 --- a/apps/plugins/rockboy/rockmacros.h +++ b/apps/plugins/rockboy/rockmacros.h @@ -97,7 +97,7 @@ struct options { int dirty; }; -bool plugbuf; +extern bool plugbuf; extern struct options options; #define savedir ROCKBOX_DIR "/rockboy" -- cgit v1.1