mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
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:
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*/);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user