From bed778ee60635ba56d4e383c45f038f88d59d1bd Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 28 Feb 2024 19:06:00 +0100 Subject: [PATCH] os: unexport LocalAccessScopeUser() this function is only used by wayland ddx, so no need to export it. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xwayland/xwayland.c | 2 ++ include/os.h | 5 ----- os/auth.h | 2 ++ 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c index 6637c7cc3..5cc88b245 100644 --- a/hw/xwayland/xwayland.c +++ b/hw/xwayland/xwayland.c @@ -50,6 +50,8 @@ #include #include +#include "os/auth.h" + #include "xwayland-screen.h" #include "xwayland-vidmode.h" diff --git a/include/os.h b/include/os.h index af838359d..47dbe175e 100644 --- a/include/os.h +++ b/include/os.h @@ -369,11 +369,6 @@ AddLocalHosts(void); extern _X_EXPORT void ResetHosts(const char *display); -#ifndef NO_LOCAL_CLIENT_CRED -extern _X_EXPORT void -LocalAccessScopeUser(void); -#endif - extern _X_EXPORT void AccessUsingXdmcp(void); diff --git a/os/auth.h b/os/auth.h index 15c5af62a..177282be5 100644 --- a/os/auth.h +++ b/os/auth.h @@ -51,4 +51,6 @@ void FreeLocalClientCreds(LocalClientCredRec *); void EnableLocalAccess(void); void DisableLocalAccess(void); +void LocalAccessScopeUser(void); + #endif /* _XSERVER_OS_AUTH_H */