mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
os: drop unused GetAccessControl()
This function isn't used anywhere, not even in (known) modules/drivers.
So we can remove it.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1343>
(cherry picked from commit 0f37f6fb4c)
This commit is contained in:
committed by
Alan Coopersmith
parent
501a25fc6d
commit
d711c6380e
@@ -430,9 +430,6 @@ GetClientFd(ClientPtr);
|
||||
extern _X_EXPORT Bool
|
||||
ClientIsLocal(ClientPtr client);
|
||||
|
||||
extern _X_EXPORT int
|
||||
GetAccessControl(void);
|
||||
|
||||
extern _X_EXPORT void
|
||||
AddLocalHosts(void);
|
||||
|
||||
|
||||
@@ -1643,13 +1643,6 @@ ChangeAccessControl(ClientPtr client, int fEnabled)
|
||||
return Success;
|
||||
}
|
||||
|
||||
/* returns FALSE if xhost + in effect, else TRUE */
|
||||
int
|
||||
GetAccessControl(void)
|
||||
{
|
||||
return AccessEnabled;
|
||||
}
|
||||
|
||||
int
|
||||
GetClientFd(ClientPtr client)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user