dix: unexport and document GetXIDRange()

Not used by any drivers (just the xcmisc extension), so no need
to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-03-06 19:10:45 +01:00
parent 2556900be7
commit f6d63f96cd
2 changed files with 13 additions and 5 deletions

View File

@ -143,4 +143,17 @@ unsigned int GetXIDList(ClientPtr pClient,
unsigned int count, unsigned int count,
XID *pids); XID *pids);
/*
* @brief retrieve a range of free XIDs for given client
*
* @param client the client to scan
* @param server TRUE if scanning for free server XIDs
* @param minp pointer to result buffer: minimum XID of found range
* @param maxp pointer to result buffer: maximum XID of found range
*/
void GetXIDRange(int client,
Bool server,
XID *minp,
XID *maxp);
#endif /* _XSERVER_DIX_RESOURCE_PRIV_H */ #endif /* _XSERVER_DIX_RESOURCE_PRIV_H */

View File

@ -247,11 +247,6 @@ extern _X_EXPORT int dixLookupResourceByClass(void **result,
ClientPtr client, ClientPtr client,
Mask access_mode); Mask access_mode);
extern _X_EXPORT void GetXIDRange(int /*client */ ,
Bool /*server */ ,
XID * /*minp */ ,
XID * /*maxp */ );
extern _X_EXPORT RESTYPE lastResourceType; extern _X_EXPORT RESTYPE lastResourceType;
extern _X_EXPORT RESTYPE TypeMask; extern _X_EXPORT RESTYPE TypeMask;