[PATCH 4/4] savage: Make SAVAGESelectBuffer() private (static)

Tormod Volden lists.tormod at gmail.com
Wed Apr 20 13:09:52 PDT 2011


From: Tormod Volden <debian.tormod at gmail.com>

Also clean out some unused prototypes from savage_driver.h

Signed-off-by: Tormod Volden <debian.tormod at gmail.com>
---

Cheers,
Tormod

 src/savage_dri.c    |    2 +-
 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 c5bffe3..67fa6fe 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
-- 
1.7.0.4



More information about the xorg-devel mailing list