mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
os: unexport EnableLocalHost() and DisableLocalHost()
These aren't used by modules, so no need to export them. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344>
This commit is contained in:
committed by
Alan Coopersmith
parent
5f19eab1ee
commit
b00fdd482c
@@ -375,12 +375,6 @@ EnableLocalAccess(void);
|
||||
extern _X_EXPORT void
|
||||
DisableLocalAccess(void);
|
||||
|
||||
extern _X_EXPORT void
|
||||
EnableLocalHost(void);
|
||||
|
||||
extern _X_EXPORT void
|
||||
DisableLocalHost(void);
|
||||
|
||||
#ifndef NO_LOCAL_CLIENT_CRED
|
||||
extern _X_EXPORT void
|
||||
EnableLocalUser(void);
|
||||
|
||||
@@ -257,6 +257,9 @@ static Bool siAddrMatch(int family, void *addr, int len, HOST * host,
|
||||
static int siCheckAddr(const char *addrString, int length);
|
||||
static void siTypesInitialize(void);
|
||||
|
||||
static void EnableLocalHost(void);
|
||||
static void DisableLocalHost(void);
|
||||
|
||||
/*
|
||||
* called when authorization is not enabled to add the
|
||||
* local host to the access list
|
||||
@@ -277,8 +280,7 @@ EnableLocalAccess(void)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
EnableLocalHost(void)
|
||||
static void EnableLocalHost(void)
|
||||
{
|
||||
if (!UsingXdmcp) {
|
||||
LocalHostEnabled = TRUE;
|
||||
@@ -304,8 +306,7 @@ DisableLocalAccess(void)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
DisableLocalHost(void)
|
||||
static void DisableLocalHost(void)
|
||||
{
|
||||
HOST *self;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user