diff --git a/include/os.h b/include/os.h index af8ffbb40..0246e4de4 100644 --- a/include/os.h +++ b/include/os.h @@ -115,12 +115,6 @@ extern _X_EXPORT void ResetWellKnownSockets(void); extern _X_EXPORT void CloseWellKnownConnections(void); -extern _X_EXPORT const char *ClientAuthorized(ClientPtr /*client */ , - unsigned int /*proto_n */ , - char * /*auth_proto */ , - unsigned int /*string_n */ , - char * /*auth_string */ ); - typedef void (*NotifyFdProcPtr)(int fd, int ready, void *data); #define X_NOTIFY_NONE 0x0 diff --git a/os/client_priv.h b/os/client_priv.h index a74c73fc8..6006c6571 100644 --- a/os/client_priv.h +++ b/os/client_priv.h @@ -35,5 +35,10 @@ const char *GetClientCmdArgs(struct _Client *client); Bool ClientIsLocal(struct _Client *client); XID AuthorizationIDOfClient(struct _Client *client); +const char *ClientAuthorized(struct _Client *client, + unsigned int proto_n, + char *auth_proto, + unsigned int string_n, + char *auth_string); #endif /* _XSERVER_DIX_CLIENT_PRIV_H */