From a84ae08526880062830aee2962ea7cfe691e9fba Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Thu, 13 Feb 2025 17:06:29 +0100 Subject: [PATCH] os: unexport ClientAuthorized() 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 | 6 ------ os/client_priv.h | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/include/os.h b/include/os.h index af8ffbb40..0246e4de4 100644 --- a/include/os.h +++ b/include/os.h @@ -115,12 +115,6 @@ extern _X_EXPORT void ResetWellKnownSockets(void); extern _X_EXPORT void CloseWellKnownConnections(void); -extern _X_EXPORT const char *ClientAuthorized(ClientPtr /*client */ , - unsigned int /*proto_n */ , - char * /*auth_proto */ , - unsigned int /*string_n */ , - char * /*auth_string */ ); - typedef void (*NotifyFdProcPtr)(int fd, int ready, void *data); #define X_NOTIFY_NONE 0x0 diff --git a/os/client_priv.h b/os/client_priv.h index a74c73fc8..6006c6571 100644 --- a/os/client_priv.h +++ b/os/client_priv.h @@ -35,5 +35,10 @@ const char *GetClientCmdArgs(struct _Client *client); Bool ClientIsLocal(struct _Client *client); XID AuthorizationIDOfClient(struct _Client *client); +const char *ClientAuthorized(struct _Client *client, + unsigned int proto_n, + char *auth_proto, + unsigned int string_n, + char *auth_string); #endif /* _XSERVER_DIX_CLIENT_PRIV_H */