Fix build with -fno-common.

pull/1/head
matthieu 2021-01-30 08:55:34 +00:00
parent 938a4319c5
commit 55e4180bde
4 changed files with 7 additions and 7 deletions

View File

@ -343,7 +343,7 @@ typedef struct _geodeRec {
/* option flags are self-explanatory */
#ifdef HAVE_LX
enum {
enum LX_GeodeOpts {
LX_OPTION_SW_CURSOR,
LX_OPTION_HW_CURSOR,
LX_OPTION_NOCOMPRESSION,
@ -357,11 +357,11 @@ enum {
LX_OPTION_FBSIZE,
LX_OPTION_PANEL_MODE,
LX_OPTION_DONT_PROGRAM
} LX_GeodeOpts;
};
#endif
#ifdef HAVE_GX
enum {
enum GX_GeodeOpts {
GX_OPTION_SW_CURSOR,
GX_OPTION_HW_CURSOR,
GX_OPTION_NOCOMPRESSION,
@ -378,7 +378,7 @@ enum {
GX_OPTION_FBSIZE,
GX_OPTION_PANEL_GEOMETRY,
GX_OPTION_DONT_PROGRAM
} GX_GeodeOpts;
};
#endif
/* geode_dcon.c */

View File

@ -112,7 +112,7 @@ void GXSetVideoPosition(int x, int y, int width, int height,
extern void GXAccelSync(ScrnInfoPtr pScrni);
int DeltaX, DeltaY;
extern int DeltaX, DeltaY;
unsigned long graphics_lut[256];
static int lutflag = 0;

View File

@ -75,7 +75,7 @@
extern OptionInfoRec LX_GeodeOptions[];
unsigned char *XpressROMPtr;
extern unsigned char *XpressROMPtr;
static Bool
LXSaveScreen(ScreenPtr pScrn, int mode)

View File

@ -51,7 +51,7 @@
#define PLATFORM_DORADO 1 /* Dorado + 9211 RevC */
#define PLATFORM_GX2BASED 1 /* Redcloud */
unsigned char *XpressROMPtr;
extern unsigned char *XpressROMPtr;
#include "pnl_init.c"
#include "pnl_bios.c"