summaryrefslogtreecommitdiff
path: root/src/savage_vbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/savage_vbe.c')
-rw-r--r--src/savage_vbe.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/savage_vbe.c b/src/savage_vbe.c
index 7dba538..06796b4 100644
--- a/src/savage_vbe.c
+++ b/src/savage_vbe.c
@@ -20,8 +20,11 @@
static int SavageGetDevice( SavagePtr psav );
/*static int SavageGetTVType( SavagePtr psav );*/
-void SavageSetVESAModeCrtc1( SavagePtr psav, int n, int Refresh );
-void SavageSetVESAModeCrtc2( SavagePtr psav, int n, int Refresh );
+static void SavageSetVESAModeCrtc1( SavagePtr psav, int n, int Refresh );
+static void SavageSetVESAModeCrtc2( SavagePtr psav, int n, int Refresh );
+static unsigned short SavageGetBIOSModes( SavagePtr psav, VbeInfoBlock *vbe,
+ int iDepth,
+ SavageModeEntryPtr s3vModeTable );
static void
SavageClearVM86Regs( xf86Int10InfoPtr pInt )
@@ -55,7 +58,7 @@ SavageSetTextMode( SavagePtr psav )
xf86ExecX86int10( psav->pVbe->pInt10 );
}
-void
+static void
SavageSetVESAModeCrtc1(SavagePtr psav, int n, int refresh)
{
unsigned char byte;
@@ -93,7 +96,7 @@ SavageSetVESAModeCrtc1(SavagePtr psav, int n, int refresh)
}
-void
+static void
SavageSetVESAModeCrtc2( SavagePtr psav, int n, int refresh )
{
@@ -268,7 +271,7 @@ SavageGetBIOSModeTable( SavagePtr psav, int iDepth )
}
-unsigned short
+static unsigned short
SavageGetBIOSModes(
SavagePtr psav,
VbeInfoBlock *vbe,