From be166167155187b05de67ac7826ccc0b356f17b5 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 14 Feb 2025 14:04:33 +0100 Subject: [PATCH] os: unexport FlushAllOutput() 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/WaitFor.c | 1 + os/client_priv.h | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/os.h b/include/os.h index facfa7047..2d164563a 100644 --- a/include/os.h +++ b/include/os.h @@ -86,8 +86,6 @@ typedef struct _NewClientRec *NewClientPtr; extern _X_EXPORT int ReadFdFromClient(ClientPtr client); -extern _X_EXPORT void FlushAllOutput(void); - extern _X_EXPORT void FlushIfCriticalOutputPending(void); extern _X_EXPORT void SetCriticalOutputPending(void); diff --git a/os/WaitFor.c b/os/WaitFor.c index 7f64c336b..a616850ab 100644 --- a/os/WaitFor.c +++ b/os/WaitFor.c @@ -64,6 +64,7 @@ SOFTWARE. #include "dix/dix_priv.h" #include "os/busfault.h" +#include "os/client_priv.h" #include "os/screensaver.h" #include "misc.h" diff --git a/os/client_priv.h b/os/client_priv.h index 90f0e1afe..04649c8d4 100644 --- a/os/client_priv.h +++ b/os/client_priv.h @@ -46,6 +46,7 @@ void ListenOnOpenFD(int fd, int noxauth); int ReadRequestFromClient(struct _Client *client); int WriteFdToClient(struct _Client *client, int fd, Bool do_close); Bool InsertFakeRequest(struct _Client *client, char *data, int count); +void FlushAllOutput(void); /* exported only for DRI module, but should not be used by external drivers */ _X_EXPORT void ResetCurrentRequest(struct _Client *client);