os: unexport EnableLocalAccess() and DisableLocalAccess()

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:
Enrico Weigelt, metux IT consult 2024-02-28 18:47:10 +01:00 committed by Alan Coopersmith
parent b00fdd482c
commit 54441ff98a
2 changed files with 3 additions and 6 deletions

View File

@ -369,12 +369,6 @@ AddLocalHosts(void);
extern _X_EXPORT void
ResetHosts(const char *display);
extern _X_EXPORT void
EnableLocalAccess(void);
extern _X_EXPORT void
DisableLocalAccess(void);
#ifndef NO_LOCAL_CLIENT_CRED
extern _X_EXPORT void
EnableLocalUser(void);

View File

@ -48,4 +48,7 @@ typedef struct {
int GetLocalClientCreds(ClientPtr, LocalClientCredRec **);
void FreeLocalClientCreds(LocalClientCredRec *);
void EnableLocalAccess(void);
void DisableLocalAccess(void);
#endif /* _XSERVER_OS_AUTH_H */