diff options
Diffstat (limited to 'xorg-server/Xext/geext.c')
-rw-r--r-- | xorg-server/Xext/geext.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xorg-server/Xext/geext.c b/xorg-server/Xext/geext.c index 07028238e..f96b76468 100644 --- a/xorg-server/Xext/geext.c +++ b/xorg-server/Xext/geext.c @@ -32,11 +32,10 @@ #include "geint.h" #include "geext.h" #include "protocol-versions.h" +#include "extinit.h" DevPrivateKeyRec GEClientPrivateKeyRec; -int RT_GECLIENT = 0; - GEExtension GEExtensions[MAXEXTENSIONS]; /* Major available requests */ @@ -67,8 +66,8 @@ ProcGEQueryVersion(ClientPtr client) rep.repType = X_Reply; rep.RepType = X_GEQueryVersion; - rep.length = 0; rep.sequenceNumber = client->sequence; + rep.length = 0; /* return the supported version by the server */ rep.majorVersion = SERVER_GE_MAJOR_VERSION; @@ -85,7 +84,7 @@ ProcGEQueryVersion(ClientPtr client) swaps(&rep.minorVersion); } - WriteToClient(client, sizeof(xGEQueryVersionReply), (char *) &rep); + WriteToClient(client, sizeof(xGEQueryVersionReply), &rep); return Success; } |