summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-05-19 14:16:20 -0700
committerJamey Sharp <jamey@minilop.net>2010-09-13 15:58:08 -0700
commit3fd963de27f3c4452c320e617ad33b91b0967737 (patch)
tree6aefee3647e2c2eb349be959034a33b8794f5977
parent0f48e362c5baee2bc281a4b88cfb68de24172d15 (diff)
Un-export CreateScratchGC now that nothing external uses it.
The server and drivers sometimes use GetScratchGC, but never CreateScratchGC. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Keith Packard <keithp@keithp.com>
-rw-r--r--dix/gc.c2
-rw-r--r--include/gc.h4
2 files changed, 1 insertions, 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*/);