SDL-1.2: atari:video:xbios: fix warnings

From e1f1f7f166faf2104685d8118b2711c9fc9198c8 Mon Sep 17 00:00:00 2001
From: Miro Kropacek <[EMAIL REDACTED]>
Date: Fri, 19 Apr 2019 21:19:34 +0200
Subject: [PATCH] atari:video:xbios: fix warnings

---
 src/video/xbios/SDL_xbios_ctpci.c | 4 ++++
 src/video/xbios/SDL_xbios_nova.h  | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/src/video/xbios/SDL_xbios_ctpci.c b/src/video/xbios/SDL_xbios_ctpci.c
index d3dc4fea1..ac95b7adb 100644
--- a/src/video/xbios/SDL_xbios_ctpci.c
+++ b/src/video/xbios/SDL_xbios_ctpci.c
@@ -64,8 +64,10 @@ static const Uint8 mode_bpp[]={
 
 /*--- Variables ---*/
 
+#ifndef CTPCI_USE_TABLE
 static int enum_actually_add;
 static SDL_VideoDevice *enum_this;
+#endif
 
 /*--- Functions ---*/
 
@@ -93,6 +95,7 @@ void SDL_XBIOS_VideoInit_Ctpci(_THIS)
 	this->FlipHWSurface = flipHWSurface;
 }
 
+#ifndef CTPCI_USE_TABLE
 static unsigned long /*cdecl*/ enumfunc(SCREENINFO *inf, unsigned long flag)
 {
 	xbiosmode_t modeinfo;
@@ -107,6 +110,7 @@ static unsigned long /*cdecl*/ enumfunc(SCREENINFO *inf, unsigned long flag)
 
 	return ENUMMODE_CONT;
 }
+#endif
 
 static void listModes(_THIS, int actually_add)
 {
diff --git a/src/video/xbios/SDL_xbios_nova.h b/src/video/xbios/SDL_xbios_nova.h
index d4cbd240d..3183b7c40 100644
--- a/src/video/xbios/SDL_xbios_nova.h
+++ b/src/video/xbios/SDL_xbios_nova.h
@@ -117,4 +117,6 @@ typedef struct {
 	unsigned long	mem_size;	/* Global size of video memory */
 } nova_xcb_t;
 
+void SDL_XBIOS_VideoInit_Nova(_THIS, void *cookie_nova);
+
 #endif /* _SDL_xbios_nova_h */