From 80593ab2797f356ca43179ee8312f4e81b61ee81 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 24 Feb 2025 11:50:39 +0100 Subject: [PATCH] misc.h: move out MAXEXTENSIONS to geext.c The only user of it is geext.c, so no need to have that define in a public include file. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- Xext/geext.c | 2 ++ include/misc.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Xext/geext.c b/Xext/geext.c index d2a32f999..30e4dd317 100644 --- a/Xext/geext.c +++ b/Xext/geext.c @@ -31,6 +31,8 @@ #include "protocol-versions.h" #include "extinit_priv.h" +#define MAXEXTENSIONS 128 + Bool noGEExtension = FALSE; DevPrivateKeyRec GEClientPrivateKeyRec; diff --git a/include/misc.h b/include/misc.h index 36554fa3c..90d7046d3 100644 --- a/include/misc.h +++ b/include/misc.h @@ -89,7 +89,6 @@ OF THIS SOFTWARE. #endif #define MAXCLIENTS 2048 #define LIMITCLIENTS 256 /* Must be a power of 2 and <= MAXCLIENTS */ -#define MAXEXTENSIONS 128 #define MAXFORMATS 8 #ifndef MAXDEVICES #define MAXDEVICES 256 /* input devices */