From c9ee4245a212d38fb920182c97631a31322d5440 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 14 Feb 2025 14:11:42 +0100 Subject: [PATCH] os: unexport ResetOsBuffers() Not used by any modules, so no need to keep it exported. 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 84d4f7b58..a68564954 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 ResetOsBuffers(void); - extern _X_EXPORT void NotifyParentProcess(void); extern _X_EXPORT void CreateWellKnownSockets(void); diff --git a/os/client_priv.h b/os/client_priv.h index 0a9ea08bb..17cdc3133 100644 --- a/os/client_priv.h +++ b/os/client_priv.h @@ -48,6 +48,7 @@ int WriteFdToClient(struct _Client *client, int fd, Bool do_close); Bool InsertFakeRequest(struct _Client *client, char *data, int count); void FlushAllOutput(void); void FlushIfCriticalOutputPending(void); +void ResetOsBuffers(void); /* exported only for DRI module, but should not be used by external drivers */ _X_EXPORT void ResetCurrentRequest(struct _Client *client);