diff --git a/Xext/geext.c b/Xext/geext.c index 1067b8b3d..a861a779b 100644 --- a/Xext/geext.c +++ b/Xext/geext.c @@ -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); diff --git a/Xext/geext.h b/Xext/geext.h index f4f80b5a4..d48df8ca9 100644 --- a/Xext/geext.h +++ b/Xext/geext.h @@ -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