From 189a70dfb2aad95f63757c55467ca97c5474d082 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 13 Feb 2025 18:30:39 +0100 Subject: [PATCH] os: unexport InsertFakeRequest() 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 | 4 ---- os/client_priv.h | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/os.h b/include/os.h index a9ef549cc..668c0e61d 100644 --- a/include/os.h +++ b/include/os.h @@ -86,10 +86,6 @@ typedef struct _NewClientRec *NewClientPtr; extern _X_EXPORT int ReadFdFromClient(ClientPtr client); -extern _X_EXPORT Bool InsertFakeRequest(ClientPtr /*client */ , - char * /*data */ , - int /*count */ ); - extern _X_EXPORT void ResetCurrentRequest(ClientPtr /*client */ ); extern _X_EXPORT void FlushAllOutput(void); diff --git a/os/client_priv.h b/os/client_priv.h index c68a65fbe..de18d07cb 100644 --- a/os/client_priv.h +++ b/os/client_priv.h @@ -44,5 +44,6 @@ Bool AddClientOnOpenFD(int fd); 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); #endif /* _XSERVER_DIX_CLIENT_PRIV_H */