os: unexport ClientIsLocal()
Not used by any modules, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1790>
This commit is contained in:
parent
6ec89c91f3
commit
1f27d3d653
|
@ -20,6 +20,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#include <dix-config.h>
|
#include <dix-config.h>
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
#include "os/client_priv.h"
|
||||||
|
|
||||||
#include "scrnintstr.h"
|
#include "scrnintstr.h"
|
||||||
#include "extnsionst.h"
|
#include "extnsionst.h"
|
||||||
#include "pixmapstr.h"
|
#include "pixmapstr.h"
|
||||||
|
|
|
@ -252,9 +252,6 @@ PrivsElevated(void);
|
||||||
extern _X_EXPORT int
|
extern _X_EXPORT int
|
||||||
GetClientFd(ClientPtr);
|
GetClientFd(ClientPtr);
|
||||||
|
|
||||||
extern _X_EXPORT Bool
|
|
||||||
ClientIsLocal(ClientPtr client);
|
|
||||||
|
|
||||||
/* stuff for ReplyCallback */
|
/* stuff for ReplyCallback */
|
||||||
extern _X_EXPORT CallbackListPtr ReplyCallback;
|
extern _X_EXPORT CallbackListPtr ReplyCallback;
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
|
@ -175,9 +175,9 @@ SOFTWARE.
|
||||||
|
|
||||||
#include "os/auth.h"
|
#include "os/auth.h"
|
||||||
#include "os/client_priv.h"
|
#include "os/client_priv.h"
|
||||||
|
#include "os/osdep.h"
|
||||||
|
|
||||||
#include "dixstruct.h"
|
#include "dixstruct.h"
|
||||||
#include "osdep.h"
|
|
||||||
|
|
||||||
#include "xace.h"
|
#include "xace.h"
|
||||||
#include "xdmcp.h"
|
#include "xdmcp.h"
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
#define _XSERVER_DIX_CLIENT_PRIV_H
|
#define _XSERVER_DIX_CLIENT_PRIV_H
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <X11/Xdefs.h>
|
||||||
|
|
||||||
/* Client IDs. Use GetClientPid, GetClientCmdName and GetClientCmdArgs
|
/* Client IDs. Use GetClientPid, GetClientCmdName and GetClientCmdArgs
|
||||||
* instead of accessing the fields directly. */
|
* instead of accessing the fields directly. */
|
||||||
|
@ -32,4 +33,6 @@ pid_t GetClientPid(struct _Client *client);
|
||||||
const char *GetClientCmdName(struct _Client *client);
|
const char *GetClientCmdName(struct _Client *client);
|
||||||
const char *GetClientCmdArgs(struct _Client *client);
|
const char *GetClientCmdArgs(struct _Client *client);
|
||||||
|
|
||||||
|
Bool ClientIsLocal(struct _Client *client);
|
||||||
|
|
||||||
#endif /* _XSERVER_DIX_CLIENT_PRIV_H */
|
#endif /* _XSERVER_DIX_CLIENT_PRIV_H */
|
||||||
|
|
Loading…
Reference in New Issue