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:
parent
5f19eab1ee
commit
b00fdd482c
|
@ -375,12 +375,6 @@ EnableLocalAccess(void);
|
||||||
extern _X_EXPORT void
|
extern _X_EXPORT void
|
||||||
DisableLocalAccess(void);
|
DisableLocalAccess(void);
|
||||||
|
|
||||||
extern _X_EXPORT void
|
|
||||||
EnableLocalHost(void);
|
|
||||||
|
|
||||||
extern _X_EXPORT void
|
|
||||||
DisableLocalHost(void);
|
|
||||||
|
|
||||||
#ifndef NO_LOCAL_CLIENT_CRED
|
#ifndef NO_LOCAL_CLIENT_CRED
|
||||||
extern _X_EXPORT void
|
extern _X_EXPORT void
|
||||||
EnableLocalUser(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 int siCheckAddr(const char *addrString, int length);
|
||||||
static void siTypesInitialize(void);
|
static void siTypesInitialize(void);
|
||||||
|
|
||||||
|
static void EnableLocalHost(void);
|
||||||
|
static void DisableLocalHost(void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* called when authorization is not enabled to add the
|
* called when authorization is not enabled to add the
|
||||||
* local host to the access list
|
* local host to the access list
|
||||||
|
@ -277,8 +280,7 @@ EnableLocalAccess(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void EnableLocalHost(void)
|
||||||
EnableLocalHost(void)
|
|
||||||
{
|
{
|
||||||
if (!UsingXdmcp) {
|
if (!UsingXdmcp) {
|
||||||
LocalHostEnabled = TRUE;
|
LocalHostEnabled = TRUE;
|
||||||
|
@ -304,8 +306,7 @@ DisableLocalAccess(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void DisableLocalHost(void)
|
||||||
DisableLocalHost(void)
|
|
||||||
{
|
{
|
||||||
HOST *self;
|
HOST *self;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue