From 0d95b53a20316dc2053d422d897d1896062dd2d7 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 14 Feb 2025 14:51:03 +0100 Subject: [PATCH] os: unexport ResetWellKnownSockets() Not used by any modules (and not supposed to be), so should not be exported at all. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- include/os.h | 2 -- os/client_priv.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/os.h b/include/os.h index fe39e246d..51b0201d3 100644 --- a/include/os.h +++ b/include/os.h @@ -91,8 +91,6 @@ extern _X_EXPORT void SetCriticalOutputPending(void); extern _X_EXPORT int WriteToClient(ClientPtr /*who */ , int /*count */ , const void * /*buf */ ); -extern _X_EXPORT void ResetWellKnownSockets(void); - extern _X_EXPORT void CloseWellKnownConnections(void); typedef void (*NotifyFdProcPtr)(int fd, int ready, void *data); diff --git a/os/client_priv.h b/os/client_priv.h index 1d5466d3f..a0ab14fda 100644 --- a/os/client_priv.h +++ b/os/client_priv.h @@ -51,6 +51,7 @@ void FlushIfCriticalOutputPending(void); void ResetOsBuffers(void); void NotifyParentProcess(void); void CreateWellKnownSockets(void); +void ResetWellKnownSockets(void); /* exported only for DRI module, but should not be used by external drivers */ _X_EXPORT void ResetCurrentRequest(struct _Client *client);