summaryrefslogtreecommitdiff
path: root/xserver/glx/single2.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/glx/single2.c')
-rw-r--r--xserver/glx/single2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xserver/glx/single2.c b/xserver/glx/single2.c
index 62dcd79ef..36a01f0cb 100644
--- a/xserver/glx/single2.c
+++ b/xserver/glx/single2.c
@@ -232,6 +232,7 @@ __glXDisp_Finish(__GLXclientState * cl, GLbyte * pc)
ClientPtr client = cl->client;
__GLXcontext *cx;
int error;
+ xGLXSingleReply reply = { 0, };
REQUEST_SIZE_MATCH(xGLXSingleReq);
@@ -252,7 +253,7 @@ __glXDisp_Finish(__GLXclientState * cl, GLbyte * pc)
#define SEPARATOR " "
-char *
+static char *
__glXcombine_strings(const char *cext_string, const char *sext_string)
{
size_t clen, slen;
@@ -328,6 +329,7 @@ DoGetString(__GLXclientState * cl, GLbyte * pc, GLboolean need_swap)
__GLXcontext *cx;
GLenum name;
const char *string;
+ xGLXSingleReply reply = { 0, };
__GLX_DECLARE_SWAP_VARIABLES;
int error;