(submit/split-client.h) os: unexport DetermineClientPid() and DetermineClientCmd()

These aren't used by any drivers/modules, so no need to export them.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-03-05 14:22:57 +01:00
parent fd77dbfa68
commit ebb5e8cf56
2 changed files with 5 additions and 6 deletions

View File

@ -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);

View File

@ -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 */