diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2011-04-19 00:02:50 +0200 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2011-04-21 21:48:44 +0200 |
commit | 092d2aa5502d10b7f994003882202f2ffda5c9aa (patch) | |
tree | 96146a339487ac98eeccd95665bf7059e12f183f | |
parent | 644fcdfdac61500e61e7bfd5ac98f780d87ef803 (diff) |
savage: Make SAVAGESelectBuffer() private (static)
Also clean out some unused prototypes from savage_driver.h
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
-rw-r--r-- | src/savage_dri.c | 2 | ||||
-rw-r--r-- | src/savage_driver.h | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/src/savage_dri.c b/src/savage_dri.c index ab86e35..69563bd 100644 --- a/src/savage_dri.c +++ b/src/savage_dri.c @@ -386,7 +386,7 @@ static void SAVAGEBlockHandler( int screenNum, pointer blockData, psav->pDRIInfo->wrap.BlockHandler = SAVAGEBlockHandler; } -void SAVAGESelectBuffer( ScrnInfoPtr pScrn, int which ) +static void SAVAGESelectBuffer( ScrnInfoPtr pScrn, int which ) { SavagePtr psav = SAVPTR(pScrn); SAVAGEDRIServerPrivatePtr pSAVAGEDRIServer = psav->DRIServerInfo; diff --git a/src/savage_driver.h b/src/savage_driver.h index fde47ff..1737362 100644 --- a/src/savage_driver.h +++ b/src/savage_driver.h @@ -561,20 +561,6 @@ void SAVAGEDRICloseScreen( ScreenPtr pScreen ); Bool SAVAGEDRIFinishScreenInit( ScreenPtr pScreen ); void SAVAGEDRIResume( ScreenPtr pScreen ); -Bool SAVAGELockUpdate( ScrnInfoPtr pScrn, drmLockFlags flags ); - -#if 0 -void SAVAGEGetQuiescence( ScrnInfoPtr pScrn ); -void SAVAGEGetQuiescenceShared( ScrnInfoPtr pScrn ); -#endif - -void SAVAGESelectBuffer(ScrnInfoPtr pScrn, int which); - -#if 0 -Bool SAVAGECleanupDma(ScrnInfoPtr pScrn); -Bool SAVAGEInitDma(ScrnInfoPtr pScrn, int prim_size); -#endif - #define SAVAGE_AGP_1X_MODE 0x01 #define SAVAGE_AGP_2X_MODE 0x02 #define SAVAGE_AGP_4X_MODE 0x04 |