mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: unexport some lookup functions
These aren't used by any drivers, so no need to export them. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1380>
This commit is contained in:
committed by
Alan Coopersmith
parent
dfdde27990
commit
d444cd4237
@@ -101,20 +101,6 @@ SOFTWARE.
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define VALIDATE_DRAWABLE_AND_GC(drawID, pDraw, mode) \
|
||||
do { \
|
||||
int tmprc = dixLookupDrawable(&(pDraw), drawID, client, M_ANY, mode); \
|
||||
if (tmprc != Success) \
|
||||
return tmprc; \
|
||||
tmprc = dixLookupGC(&(pGC), stuff->gc, client, DixUseAccess); \
|
||||
if (tmprc != Success) \
|
||||
return tmprc; \
|
||||
if ((pGC->depth != pDraw->depth) || (pGC->pScreen != pDraw->pScreen)) \
|
||||
return BadMatch; \
|
||||
if (pGC->serialNumber != pDraw->serialNumber) \
|
||||
ValidateGC(pDraw, pGC); \
|
||||
} while (0)
|
||||
|
||||
#define WriteReplyToClient(pClient, size, pReply) \
|
||||
do { \
|
||||
if ((pClient)->swapped) \
|
||||
@@ -188,17 +174,10 @@ extern _X_EXPORT int dixLookupDrawable(DrawablePtr *result,
|
||||
ClientPtr client,
|
||||
Mask type_mask, Mask access_mode);
|
||||
|
||||
extern _X_EXPORT int dixLookupGC(GCPtr *result,
|
||||
XID id, ClientPtr client, Mask access_mode);
|
||||
|
||||
extern _X_EXPORT int dixLookupFontable(FontPtr *result,
|
||||
XID id,
|
||||
ClientPtr client, Mask access_mode);
|
||||
|
||||
extern _X_EXPORT int dixLookupClient(ClientPtr *result,
|
||||
XID id,
|
||||
ClientPtr client, Mask access_mode);
|
||||
|
||||
extern _X_EXPORT void NoopDDA(void);
|
||||
|
||||
extern _X_EXPORT int AlterSaveSetForClient(ClientPtr /*client */ ,
|
||||
|
||||
Reference in New Issue
Block a user