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
This commit is contained in:
Nils Wallménius 2011-03-19 10:14:12 +00:00
parent 528e1850bf
commit 5aaabbfd12
5 changed files with 17 additions and 17 deletions

View file

@ -47,9 +47,9 @@ extern "C" {
/* C O N S T A N T S */ /* C O N S T A N T S */
const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer extern const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer
const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients extern const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients
const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset extern const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset
#define Cc (__Cc + 1) #define Cc (__Cc + 1)
#define Dc (__Dc + 1) #define Dc (__Dc + 1)

View file

@ -1,11 +1,11 @@
const int16_t hamming_8192[8192]; extern const int16_t hamming_8192[8192];
const int16_t hamming_4096[4096]; extern const int16_t hamming_4096[4096];
const int16_t hamming_2048[2048]; extern const int16_t hamming_2048[2048];
const int16_t hamming_1024[1024]; extern const int16_t hamming_1024[1024];
const int16_t hamming_512[512]; extern const int16_t hamming_512[512];
const int16_t hann_8192[8192]; extern const int16_t hann_8192[8192];
const int16_t hann_4096[4096]; extern const int16_t hann_4096[4096];
const int16_t hann_2048[2048]; extern const int16_t hann_2048[2048];
const int16_t hann_1024[1024]; extern const int16_t hann_1024[1024];
const int16_t hann_512[512]; extern const int16_t hann_512[512];

View file

@ -38,10 +38,10 @@ extern unsigned short cursor_pos;
extern bool draw_variations; extern bool draw_variations;
/* Used to set the zoom level, loaded in from the config file */ /* 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 */ /* 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 */ /* Clear the marks from the board */
void clear_marks_display (void); void clear_marks_display (void);

View file

@ -15,7 +15,7 @@
struct cpu cpu IBSS_ATTR; struct cpu cpu IBSS_ATTR;
bool plugbuf;
#define ZFLAG(n) ( (n) ? 0 : FZ ) #define ZFLAG(n) ( (n) ? 0 : FZ )

View file

@ -97,7 +97,7 @@ struct options {
int dirty; int dirty;
}; };
bool plugbuf; extern bool plugbuf;
extern struct options options; extern struct options options;
#define savedir ROCKBOX_DIR "/rockboy" #define savedir ROCKBOX_DIR "/rockboy"