diff --git a/Xext/security.c b/Xext/security.c index df4fd922b..b0715e3df 100644 --- a/Xext/security.c +++ b/Xext/security.c @@ -35,6 +35,7 @@ in this Software without prior written authorization from The Open Group. #include "include/extinit_priv.h" #include "os/audit.h" #include "os/auth.h" +#include "os/client_priv.h" #include "os/osdep.h" #include "scrnintstr.h" diff --git a/include/os.h b/include/os.h index eab28747b..af8ffbb40 100644 --- a/include/os.h +++ b/include/os.h @@ -115,8 +115,6 @@ extern _X_EXPORT void ResetWellKnownSockets(void); extern _X_EXPORT void CloseWellKnownConnections(void); -extern _X_EXPORT XID AuthorizationIDOfClient(ClientPtr /*client */ ); - extern _X_EXPORT const char *ClientAuthorized(ClientPtr /*client */ , unsigned int /*proto_n */ , char * /*auth_proto */ , diff --git a/os/client_priv.h b/os/client_priv.h index abbda2b9d..a74c73fc8 100644 --- a/os/client_priv.h +++ b/os/client_priv.h @@ -34,5 +34,6 @@ const char *GetClientCmdName(struct _Client *client); const char *GetClientCmdArgs(struct _Client *client); Bool ClientIsLocal(struct _Client *client); +XID AuthorizationIDOfClient(struct _Client *client); #endif /* _XSERVER_DIX_CLIENT_PRIV_H */ diff --git a/os/connection.c b/os/connection.c index 997d06405..07d6cbe8a 100644 --- a/os/connection.c +++ b/os/connection.c @@ -97,6 +97,7 @@ SOFTWARE. #include "dix/dix_priv.h" #include "os/audit.h" #include "os/auth.h" +#include "os/client_priv.h" #include "os/osdep.h" #include "misc.h" /* for typedef of pointer */