mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 12:49:21 +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>
This commit is contained in:
committed by
Marge Bot
parent
074f4857b0
commit
0f37f6fb4c
@@ -427,9 +427,6 @@ GetClientFd(ClientPtr);
|
||||
extern _X_EXPORT Bool
|
||||
ClientIsLocal(ClientPtr client);
|
||||
|
||||
extern _X_EXPORT int
|
||||
GetAccessControl(void);
|
||||
|
||||
extern _X_EXPORT void
|
||||
AddLocalHosts(void);
|
||||
|
||||
|
||||
@@ -1645,13 +1645,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