Revert "misc.h: move out MAXEXTENSIONS to geext.c"

This reverts commit 80593ab279.

This is a fundamental property of the X11 core protocol,
there is no benefit to hiding it, it can't change.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2013>
This commit is contained in:
Alan Coopersmith 2025-06-11 14:33:39 -07:00 committed by Marge Bot
parent ff8d250589
commit 55ad737a9f
2 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,6 @@
#include "protocol-versions.h" #include "protocol-versions.h"
#include "extinit_priv.h" #include "extinit_priv.h"
#define MAXEXTENSIONS 128
DevPrivateKeyRec GEClientPrivateKeyRec; DevPrivateKeyRec GEClientPrivateKeyRec;
#define GEClientPrivateKey (&GEClientPrivateKeyRec) #define GEClientPrivateKey (&GEClientPrivateKeyRec)

View File

@ -89,6 +89,7 @@ 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 */