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:
parent
6fa340c578
commit
896937298b
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue