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 <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1810>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-24 11:50:39 +01:00 committed by Marge Bot
parent 3f469acb96
commit 80593ab279
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,8 @@
#include "protocol-versions.h" #include "protocol-versions.h"
#include "extinit_priv.h" #include "extinit_priv.h"
#define MAXEXTENSIONS 128
Bool noGEExtension = FALSE; Bool noGEExtension = FALSE;
DevPrivateKeyRec GEClientPrivateKeyRec; DevPrivateKeyRec GEClientPrivateKeyRec;

View File

@ -89,7 +89,6 @@ OF THIS SOFTWARE.
#endif #endif
#define MAXCLIENTS 2048 #define MAXCLIENTS 2048
#define LIMITCLIENTS 256 /* Must be a power of 2 and <= MAXCLIENTS */ #define LIMITCLIENTS 256 /* Must be a power of 2 and <= MAXCLIENTS */
#define MAXEXTENSIONS 128
#define MAXFORMATS 8 #define MAXFORMATS 8
#ifndef MAXDEVICES #ifndef MAXDEVICES
#define MAXDEVICES 256 /* input devices */ #define MAXDEVICES 256 /* input devices */