diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/savage_driver.h | 6 | ||||
-rw-r--r-- | src/savage_vbe.c | 13 |
2 files changed, 8 insertions, 11 deletions
diff --git a/src/savage_driver.h b/src/savage_driver.h index ec4b1ea..d5b1a46 100644 --- a/src/savage_driver.h +++ b/src/savage_driver.h @@ -630,12 +630,6 @@ SavageModeTablePtr SavageGetBIOSModeTable( SavagePtr psav, int iDepth ); ModeStatus SavageMatchBiosMode(ScrnInfoPtr pScrn,int width,int height,int refresh, unsigned int *vesaMode,unsigned int *newRefresh); -unsigned short SavageGetBIOSModes( - SavagePtr psav, - VbeInfoBlock *vbe, - int iDepth, - SavageModeEntryPtr s3vModeTable ); - /* In savage_video.c */ void SavageInitVideo( ScreenPtr pScreen ); 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, |