Xext: geext: move struct _GEExtension into geext.c

Not used anywhere outside geext implementation itself,
so shouldn't be public at all.

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:30:14 +01:00 committed by Marge Bot
parent 896937298b
commit a7600ac884
2 changed files with 6 additions and 6 deletions

View File

@ -36,6 +36,12 @@ Bool noGEExtension = FALSE;
DevPrivateKeyRec GEClientPrivateKeyRec; DevPrivateKeyRec GEClientPrivateKeyRec;
/** Struct to keep information about registered extensions */
typedef struct _GEExtension {
/** Event swapping routine */
void (*evswap) (xGenericEvent *from, xGenericEvent *to);
} GEExtension, *GEExtensionPtr;
static GEExtension GEExtensions[MAXEXTENSIONS]; static GEExtension GEExtensions[MAXEXTENSIONS];
/* Forward declarations */ /* Forward declarations */

View File

@ -34,12 +34,6 @@ from the author.
#define _GEEXT_H_ #define _GEEXT_H_
#include <X11/extensions/geproto.h> #include <X11/extensions/geproto.h>
/** Struct to keep information about registered extensions */
typedef struct _GEExtension {
/** Event swapping routine */
void (*evswap) (xGenericEvent *from, xGenericEvent *to);
} GEExtension, *GEExtensionPtr;
/* Interface for other extensions */ /* Interface for other extensions */
extern _X_EXPORT void GERegisterExtension(int extension, extern _X_EXPORT void GERegisterExtension(int extension,
void (*ev_dispatch) (xGenericEvent void (*ev_dispatch) (xGenericEvent