include: unpexport SELINUX_* consts from include/global.h

globals.h shouldn't be cluttered with extension specific things, that
aren't even used by external modules/drivers.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1328>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-02-26 20:04:56 +01:00 committed by Marge Bot
parent 537293ff4e
commit a57b449485
2 changed files with 8 additions and 8 deletions

View File

@ -136,4 +136,12 @@ typedef struct {
CARD32 pad6;
} SELinuxListItemsReply;
#ifdef XSELINUX
#define SELINUX_MODE_DEFAULT 0
#define SELINUX_MODE_DISABLED 1
#define SELINUX_MODE_PERMISSIVE 2
#define SELINUX_MODE_ENFORCING 3
extern int selinuxEnforcingState;
#endif
#endif /* _XSELINUX_H */

View File

@ -34,12 +34,4 @@ extern _X_EXPORT sig_atomic_t inSignalContext;
extern _X_EXPORT Bool PanoramiXExtensionDisabledHack;
#endif
#ifdef XSELINUX
#define SELINUX_MODE_DEFAULT 0
#define SELINUX_MODE_DISABLED 1
#define SELINUX_MODE_PERMISSIVE 2
#define SELINUX_MODE_ENFORCING 3
extern _X_EXPORT int selinuxEnforcingState;
#endif
#endif /* !_XSERV_GLOBAL_H_ */