mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
dix: unexport and document NextAvailableClient()
Only called from OS layer, thus should not be exported at all. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -303,4 +303,14 @@ int EventSuppressForWindow(WindowPtr pWindow,
|
||||
Bool *checkOptional)
|
||||
_X_ATTRIBUTE_NONNULL_ARG(1,2,4);
|
||||
|
||||
/*
|
||||
* @brief allocate new ClientRec and initialize it
|
||||
*
|
||||
* Returns NULL on allocation failure or when client limit reached.
|
||||
*
|
||||
* @param ospriv pointer to OS layer's internal data
|
||||
* @return pointer to new ClientRec or NULL on failure
|
||||
*/
|
||||
ClientPtr NextAvailableClient(void *ospriv);
|
||||
|
||||
#endif /* _XSERVER_DIX_PRIV_H */
|
||||
|
||||
@@ -162,8 +162,6 @@ extern _X_EXPORT void UpdateCurrentTimeIf(void);
|
||||
*/
|
||||
_X_EXPORT int dixDestroyPixmap(void *pPixmap, XID unused);
|
||||
|
||||
extern _X_EXPORT ClientPtr NextAvailableClient(void *ospriv);
|
||||
|
||||
extern _X_EXPORT void SendErrorToClient(ClientPtr /*client */ ,
|
||||
unsigned int /*majorCode */ ,
|
||||
unsigned int /*minorCode */ ,
|
||||
|
||||
Reference in New Issue
Block a user