From 3fd963de27f3c4452c320e617ad33b91b0967737 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Wed, 19 May 2010 14:16:20 -0700 Subject: [PATCH] Un-export CreateScratchGC now that nothing external uses it. The server and drivers sometimes use GetScratchGC, but never CreateScratchGC. Signed-off-by: Jamey Sharp Reviewed-by: Keith Packard --- dix/gc.c | 2 +- include/gc.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/dix/gc.c b/dix/gc.c index 83bb52474..fc251dd01 100644 --- a/dix/gc.c +++ b/dix/gc.c @@ -799,7 +799,7 @@ is what fills the default tile. (maybe this comment should go with CreateGC() or ChangeGC().) */ -GCPtr +static GCPtr CreateScratchGC(ScreenPtr pScreen, unsigned depth) { GCPtr pGC; diff --git a/include/gc.h b/include/gc.h index 63eecbd66..2079cfae0 100644 --- a/include/gc.h +++ b/include/gc.h @@ -122,10 +122,6 @@ extern _X_EXPORT int FreeGC( pointer /*pGC*/, XID /*gid*/); -extern _X_EXPORT GCPtr CreateScratchGC( - ScreenPtr /*pScreen*/, - unsigned /*depth*/); - extern _X_EXPORT void FreeGCperDepth( int /*screenNum*/);