dix: unexport CopyGC()

Not used by any driver, 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:42:24 +01:00 committed by Marge Bot
parent 6896396456
commit 7e30f2c8e1
3 changed files with 3 additions and 4 deletions

View File

@ -56,6 +56,7 @@ Equipment Corporation.
#include <X11/Xmd.h>
#include <X11/Xproto.h>
#include "dix/gc_priv.h"
#include "os/auth.h"
#include "scrnintstr.h"

View File

@ -18,4 +18,6 @@ GCPtr CreateGC(DrawablePtr pDrawable,
XID gcid,
ClientPtr client);
int CopyGC(GCPtr pgcSrc, GCPtr pgcDst, BITS32 mask);
#endif /* _XSERVER_DIX_GC_PRIV_H */

View File

@ -88,10 +88,6 @@ extern _X_EXPORT int ChangeGC(ClientPtr /*client */ ,
BITS32 /*mask */ ,
ChangeGCValPtr /*pCGCV */ );
extern _X_EXPORT int CopyGC(GCPtr /*pgcSrc */ ,
GCPtr /*pgcDst */ ,
BITS32 /*mask */ );
extern _X_EXPORT int FreeGC(void *pGC,
XID gid);