dix: remove unused NAMESPACE private type

in struct _Screen (include/scrnintstr.h) there is a PRIVATE_LAST-sized array,
having another private increases PRIVATE_LAST, the array increases in size,
moving everything below it down. this breaks ABI for nvidia driver

Signed-off-by: dasha_uwu <dasha@linuxping.win>
This commit is contained in:
dasha_uwu 2025-06-13 04:49:58 +05:00 committed by Enrico Weigelt
parent 545f6ca8b7
commit 1489474583
2 changed files with 0 additions and 2 deletions

View File

@ -109,7 +109,6 @@ static const char *key_names[PRIVATE_LAST] = {
[PRIVATE_GLYPHSET] = "GLYPHSET", [PRIVATE_GLYPHSET] = "GLYPHSET",
[PRIVATE_PICTURE] = "PICTURE", [PRIVATE_PICTURE] = "PICTURE",
[PRIVATE_SYNC_FENCE] = "SYNC_FENCE", [PRIVATE_SYNC_FENCE] = "SYNC_FENCE",
[PRIVATE_NAMESPACE] = "NAMESPACE",
}; };
static const Bool screen_specific_private[PRIVATE_LAST] = { static const Bool screen_specific_private[PRIVATE_LAST] = {

View File

@ -51,7 +51,6 @@ typedef enum {
PRIVATE_GLYPHSET, PRIVATE_GLYPHSET,
PRIVATE_PICTURE, PRIVATE_PICTURE,
PRIVATE_SYNC_FENCE, PRIVATE_SYNC_FENCE,
PRIVATE_NAMESPACE,
/* last private type */ /* last private type */
PRIVATE_LAST, PRIVATE_LAST,