diff --git a/Xext/geext.c b/Xext/geext.c index aede01e6c..600399755 100644 --- a/Xext/geext.c +++ b/Xext/geext.c @@ -36,7 +36,7 @@ DevPrivateKeyRec GEClientPrivateKeyRec; -GEExtension GEExtensions[MAXEXTENSIONS]; +static GEExtension GEExtensions[MAXEXTENSIONS]; /* Major available requests */ static const int version_requests[] = { diff --git a/Xext/geext.h b/Xext/geext.h index ba8ff5c4d..895325d80 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