mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-16 09:40:31 +01: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:
parent
501a25fc6d
commit
d711c6380e
2 changed files with 0 additions and 10 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue