os: unexport EnableLocalUser() and DisableLocalUser()

these aren't used by module, 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:
Enrico Weigelt, metux IT consult
2024-02-28 18:51:58 +01:00
committed by Alan Coopersmith
parent 54441ff98a
commit e621081fa3
2 changed files with 7 additions and 10 deletions

View File

@@ -260,6 +260,11 @@ static void siTypesInitialize(void);
static void EnableLocalHost(void);
static void DisableLocalHost(void);
#ifndef NO_LOCAL_CLIENT_CRED
static void EnableLocalUser(void);
static void DisableLocalUser(void);
#endif
/*
* called when authorization is not enabled to add the
* local host to the access list
@@ -348,8 +353,7 @@ out:
return length;
}
void
EnableLocalUser(void)
static void EnableLocalUser(void)
{
char *addr = NULL;
int length = -1;
@@ -364,8 +368,7 @@ EnableLocalUser(void)
free(addr);
}
void
DisableLocalUser(void)
static void DisableLocalUser(void)
{
char *addr = NULL;
int length = -1;