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:
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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue