From dd21a80219b6288cf3cc238b0d4a236d8818e901 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 28 Feb 2024 20:35:17 +0100 Subject: [PATCH] os: unexport ChangeAccessControl() this function isn't used by modules/drivers, so no need to export it. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- include/os.h | 3 --- os/auth.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/os.h b/include/os.h index 4b4a896ab..f5beb6a94 100644 --- a/include/os.h +++ b/include/os.h @@ -320,9 +320,6 @@ OsAbort(void) extern _X_EXPORT Bool PrivsElevated(void); -extern _X_EXPORT int -ChangeAccessControl(ClientPtr /*client */ , int /*fEnabled */ ); - extern _X_EXPORT int GetClientFd(ClientPtr); diff --git a/os/auth.h b/os/auth.h index a4f096887..a05198f05 100644 --- a/os/auth.h +++ b/os/auth.h @@ -107,4 +107,6 @@ void DefineSelf(int fd); /* check whether given addr belongs to ourself */ void AugmentSelf(void *from, int len); +int ChangeAccessControl(ClientPtr client, int fEnabled); + #endif /* _XSERVER_OS_AUTH_H */