From 2f7ba4bf32c0595dbdc49095c6cd33e769075f22 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 23 May 2025 19:43:55 +0200 Subject: [PATCH] dix: unexport InitBlockAndWakeupHandlers() Not supposed to be called by drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- dix/dix_priv.h | 5 +++++ include/dix.h | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dix/dix_priv.h b/dix/dix_priv.h index ebd368bd1..c2bf8f368 100644 --- a/dix/dix_priv.h +++ b/dix/dix_priv.h @@ -568,4 +568,9 @@ void BlockHandler(void *timeout); */ void WakeupHandler(int result); +/* + * @brief initialize the block and wakeup handlers + */ +void InitBlockAndWakeupHandlers(void); + #endif /* _XSERVER_DIX_PRIV_H */ diff --git a/include/dix.h b/include/dix.h index 88684cd0a..3ac75aede 100644 --- a/include/dix.h +++ b/include/dix.h @@ -193,8 +193,6 @@ extern _X_EXPORT void RemoveBlockAndWakeupHandlers(ServerBlockHandlerProcPtr blo ServerWakeupHandlerProcPtr wakeupHandler, void *blockData); -extern _X_EXPORT void InitBlockAndWakeupHandlers(void); - extern _X_EXPORT Bool QueueWorkProc(Bool (*function)(ClientPtr clientUnused, void *closure), ClientPtr client,