From 9b0c3c62f2e4bd5b005b63818d2955113e909001 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 13 Feb 2025 17:12:22 +0100 Subject: [PATCH] os: unexport ListenOnOpenFD() Not used by any modules, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xquartz/darwinEvents.c | 1 + include/os.h | 2 -- os/client_priv.h | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xquartz/darwinEvents.c b/hw/xquartz/darwinEvents.c index 35e33bab1..5aa16ffab 100644 --- a/hw/xquartz/darwinEvents.c +++ b/hw/xquartz/darwinEvents.c @@ -47,6 +47,7 @@ #include #include "mi/mi_priv.h" +#include "os/client_priv.h" #include "misc.h" #include "windowstr.h" diff --git a/include/os.h b/include/os.h index 909411933..423346aaa 100644 --- a/include/os.h +++ b/include/os.h @@ -133,8 +133,6 @@ extern _X_EXPORT void IgnoreClient(ClientPtr /*client */ ); extern _X_EXPORT void AttendClient(ClientPtr /*client */ ); -extern _X_EXPORT void ListenOnOpenFD(int /* fd */ , int /* noxauth */ ); - extern _X_EXPORT CARD32 GetTimeInMillis(void); extern _X_EXPORT CARD64 GetTimeInMicros(void); diff --git a/os/client_priv.h b/os/client_priv.h index 111276cb9..fd1d9cea7 100644 --- a/os/client_priv.h +++ b/os/client_priv.h @@ -41,5 +41,6 @@ const char *ClientAuthorized(struct _Client *client, unsigned int string_n, char *auth_string); Bool AddClientOnOpenFD(int fd); +void ListenOnOpenFD(int fd, int noxauth); #endif /* _XSERVER_DIX_CLIENT_PRIV_H */