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:
parent
7ac7a2d6de
commit
ed3c2aeeb1
|
@ -36,12 +36,6 @@
|
||||||
struct _Client;
|
struct _Client;
|
||||||
typedef struct _ClientId *ClientIdPtr;
|
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. */
|
/* Query cached client IDs. Exported on purpose for drivers. */
|
||||||
extern _X_EXPORT pid_t GetClientPid(struct _Client *client);
|
extern _X_EXPORT pid_t GetClientPid(struct _Client *client);
|
||||||
extern _X_EXPORT const char *GetClientCmdName(struct _Client *client);
|
extern _X_EXPORT const char *GetClientCmdName(struct _Client *client);
|
||||||
|
|
|
@ -24,4 +24,9 @@ struct _Client;
|
||||||
void ReserveClientIds(struct _Client *client);
|
void ReserveClientIds(struct _Client *client);
|
||||||
void ReleaseClientIds(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 */
|
#endif /* _XSERVER_DIX_CLIENT_PRIV_H */
|
||||||
|
|
Loading…
Reference in New Issue