diff --git a/include/client.h b/include/client.h index 8ecd41704..1f3d9065f 100644 --- a/include/client.h +++ b/include/client.h @@ -36,12 +36,6 @@ struct _Client; typedef struct _ClientId *ClientIdPtr; -/* Determine client IDs for caching. Exported on purpose for - * extensions such as SELinux. */ -extern _X_EXPORT pid_t DetermineClientPid(struct _Client *client); -extern _X_EXPORT void DetermineClientCmd(pid_t, const char **cmdname, - const char **cmdargs); - /* Query cached client IDs. Exported on purpose for drivers. */ extern _X_EXPORT pid_t GetClientPid(struct _Client *client); extern _X_EXPORT const char *GetClientCmdName(struct _Client *client); diff --git a/os/client_priv.h b/os/client_priv.h index 176e72045..27dc4f36b 100644 --- a/os/client_priv.h +++ b/os/client_priv.h @@ -24,4 +24,9 @@ struct _Client; void ReserveClientIds(struct _Client *client); void ReleaseClientIds(struct _Client *client); +/* Determine client IDs for caching. Exported on purpose for + * extensions such as SELinux. */ +pid_t DetermineClientPid(struct _Client *client); +void DetermineClientCmd(pid_t, const char **cmdname, const char **cmdargs); + #endif /* _XSERVER_DIX_CLIENT_PRIV_H */