dix: unexport CreateGC()

Not used by any drivers, so no need to export it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1365>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-03-05 19:35:42 +01:00 committed by Marge Bot
parent 46c0ac8c70
commit 6896396456
3 changed files with 10 additions and 7 deletions

View File

@ -11,4 +11,11 @@
int ChangeGCXIDs(ClientPtr client, GCPtr pGC, BITS32 mask, CARD32 * pval);
GCPtr CreateGC(DrawablePtr pDrawable,
BITS32 mask,
XID *pval,
int *pStatus,
XID gcid,
ClientPtr client);
#endif /* _XSERVER_DIX_GC_PRIV_H */

View File

@ -88,13 +88,6 @@ extern _X_EXPORT int ChangeGC(ClientPtr /*client */ ,
BITS32 /*mask */ ,
ChangeGCValPtr /*pCGCV */ );
extern _X_EXPORT GCPtr CreateGC(DrawablePtr /*pDrawable */ ,
BITS32 /*mask */ ,
XID * /*pval */ ,
int * /*pStatus */ ,
XID /*gcid */ ,
ClientPtr /*client */ );
extern _X_EXPORT int CopyGC(GCPtr /*pgcSrc */ ,
GCPtr /*pgcDst */ ,
BITS32 /*mask */ );

View File

@ -34,6 +34,9 @@ in this Software without prior written authorization from The Open Group.
#endif
#include <X11/X.h>
#include "dix/gc_priv.h"
#include "misc.h"
#include "input.h"
#include "cursorstr.h"