dix: unexport and document ClientSleep()
Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
49107319f7
commit
8104fc115d
|
@ -321,4 +321,14 @@ ClientPtr NextAvailableClient(void *ospriv);
|
||||||
void MarkClientException(ClientPtr pClient)
|
void MarkClientException(ClientPtr pClient)
|
||||||
_X_ATTRIBUTE_NONNULL_ARG(1);
|
_X_ATTRIBUTE_NONNULL_ARG(1);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @brief put a client to sleep
|
||||||
|
*
|
||||||
|
* @param pClient the client to put into sleep
|
||||||
|
* @param func called when client wakes up
|
||||||
|
* @param closure data passed to the callback function
|
||||||
|
*/
|
||||||
|
Bool ClientSleep(ClientPtr pClient, ClientSleepProcPtr func, void *closure)
|
||||||
|
_X_ATTRIBUTE_NONNULL_ARG(1,2);
|
||||||
|
|
||||||
#endif /* _XSERVER_DIX_PRIV_H */
|
#endif /* _XSERVER_DIX_PRIV_H */
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
#include "dix/dix_priv.h"
|
||||||
#include "os/client_priv.h"
|
#include "os/client_priv.h"
|
||||||
|
|
||||||
#ifdef WITH_LIBDRM
|
#ifdef WITH_LIBDRM
|
||||||
|
|
|
@ -219,10 +219,6 @@ extern _X_EXPORT Bool QueueWorkProc(Bool (*function)(ClientPtr clientUnused,
|
||||||
typedef Bool (*ClientSleepProcPtr) (ClientPtr client,
|
typedef Bool (*ClientSleepProcPtr) (ClientPtr client,
|
||||||
void *closure);
|
void *closure);
|
||||||
|
|
||||||
extern _X_EXPORT Bool ClientSleep(ClientPtr client,
|
|
||||||
ClientSleepProcPtr function,
|
|
||||||
void *closure);
|
|
||||||
|
|
||||||
#ifndef ___CLIENTSIGNAL_DEFINED___
|
#ifndef ___CLIENTSIGNAL_DEFINED___
|
||||||
#define ___CLIENTSIGNAL_DEFINED___
|
#define ___CLIENTSIGNAL_DEFINED___
|
||||||
extern _X_EXPORT Bool ClientSignal(ClientPtr /*client */ );
|
extern _X_EXPORT Bool ClientSignal(ClientPtr /*client */ );
|
||||||
|
|
Loading…
Reference in New Issue