summaryrefslogtreecommitdiff
path: root/src/gx_video.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2020-12-03 14:22:23 +0100
committerMartin-Éric Racine <martin-eric.racine@iki.fi>2020-12-03 20:22:42 +0200
commitba63bf6821c40707237ad2e7a13352a537e5b588 (patch)
treeffe92bf5a8a8de683c3e686c2a571f2490012164 /src/gx_video.c
parentc8c1e7ffbeb81bbaa148ed3f66e45e373e35ddad (diff)
fix 'multiple definition of' linker error
Fix for FTBFS due to -fno-common on GCC 10. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Diffstat (limited to 'src/gx_video.c')
-rw-r--r--src/gx_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gx_video.c b/src/gx_video.c
index 0d3e1c5..7964d17 100644
--- a/src/gx_video.c
+++ b/src/gx_video.c
@@ -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;