mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
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:
committed by
Alan Coopersmith
parent
54441ff98a
commit
e621081fa3
11
os/access.c
11
os/access.c
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user