dix: unexport lastResourceType and TypeMask

Not used by any drivers, so no need to keep them exported

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-11-10 19:29:54 +01:00 • committed by Enrico Weigelt
commit 25cc9a3796
5 changed files with 6 additions and 6 deletions

View file

@ -23,6 +23,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "dix/registry_priv.h"
#include "dix/request_priv.h"
#include "dix/resource_priv.h"
#include "xselinuxint.h"

View file

@ -54,10 +54,10 @@ from The Open Group.
#include <stddef.h>
#include "dix/colormap_priv.h"
#include "dix/resource_priv.h"
#include "dix/screenint_priv.h"
#include "windowstr.h"
#include "resource.h"
#include "privates.h"
#include "gcstruct.h"
#include "cursorstr.h"

View file

@ -25,8 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <X11/Xproto.h>
#include "dix/registry_priv.h"
#include "resource.h"
#include "dix/resource_priv.h"
#define BASE_SIZE 16

View file

@ -11,6 +11,9 @@
#include "include/dix.h"
#include "include/resource.h"
extern RESTYPE lastResourceType;
extern RESTYPE TypeMask;
#define SameClient(obj,client) \
(CLIENT_BITS((obj)->resource) == (client)->clientAsMask)

View file

@ -230,9 +230,6 @@ extern _X_EXPORT int dixLookupResourceByClass(void **result,
ClientPtr client,
Mask access_mode);
extern _X_EXPORT RESTYPE lastResourceType;
extern _X_EXPORT RESTYPE TypeMask;
/*
* @brief allocate a XID (resource ID) for the server itself
*