diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2012-05-18 12:31:32 +0200 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2013-05-09 16:09:27 +0200 |
commit | fdaa5d9aa856512f161cd23dea6f3f77162fd7d8 (patch) | |
tree | 7abdb593f4c9cb9dd6921fa2491c3127198cb2ba | |
parent | 44581aef5f878e7f2b34d5693d50ef75263b195c (diff) |
Tag some savage_vbe.c internal functions as static
-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, |