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>
This commit is contained in:
parent
0f48e362c5
commit
3fd963de27
2
dix/gc.c
2
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;
|
||||
|
|
|
@ -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*/);
|
||||
|
||||
|
|
Loading…
Reference in New Issue