Xext: geext: unexport GEExtensions[]

This field isn't used by anybody outside, nor should it be accessed
directly. So better make it local.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1811>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-18 14:07:01 +01:00 committed by Marge Bot
parent 6fa340c578
commit 896937298b
2 changed files with 1 additions and 4 deletions

View File

@ -36,7 +36,7 @@ Bool noGEExtension = FALSE;
DevPrivateKeyRec GEClientPrivateKeyRec;
GEExtension GEExtensions[MAXEXTENSIONS];
static GEExtension GEExtensions[MAXEXTENSIONS];
/* Forward declarations */
static void SGEGenericEvent(xEvent *from, xEvent *to);

View File

@ -40,9 +40,6 @@ typedef struct _GEExtension {
void (*evswap) (xGenericEvent *from, xGenericEvent *to);
} GEExtension, *GEExtensionPtr;
/* All registered extensions and their handling functions. */
extern _X_EXPORT GEExtension GEExtensions[MAXEXTENSIONS];
/* Interface for other extensions */
extern _X_EXPORT void GERegisterExtension(int extension,
void (*ev_dispatch) (xGenericEvent