os: move ComputeLocalClient() prototype to auth.h

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-11-07 17:06:33 +01:00
committed by Enrico Weigelt
parent ce75ddb0bb
commit 07d6ca4254
2 changed files with 2 additions and 3 deletions

View File

@@ -116,4 +116,6 @@ void AccessUsingXdmcp(void);
extern Bool defeatAccessControl;
Bool ComputeLocalClient(ClientPtr client);
#endif /* _XSERVER_OS_AUTH_H */

View File

@@ -101,9 +101,6 @@ listen_to_client(ClientPtr client);
extern Bool NewOutputPending;
/* in access.c */
extern Bool ComputeLocalClient(ClientPtr client);
/* for platforms lacking arc4random_buf() libc function */
#ifndef HAVE_ARC4RANDOM_BUF
static inline void arc4random_buf(void *buf, size_t nbytes)