mesa: Remove GLXContextID typedef from glx.h.
authorVinson Lee <vlee@freedesktop.org>
Sat, 19 Oct 2013 00:40:40 +0000 (17:40 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sat, 19 Oct 2013 01:08:31 +0000 (18:08 -0700)
Fixes this build error.

  CC     clientattrib.lo
In file included from ../../include/GL/glx.h:333,
                 from glxclient.h:45,
                 from clientattrib.c:32:
../../include/GL/glxext.h:275: error: redefinition of typedef ‘GLXContextID’
../../include/GL/glx.h:171: note: previous declaration of ‘GLXContextID’ was here

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70591
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
include/GL/glx.h

index 87c31fdcc158ed145df0320fab36dad560ae410a..fa5a8eda962a369bf87eb1d1c810f0253bd81c88 100644 (file)
@@ -168,7 +168,6 @@ typedef XID GLXDrawable;
 /* GLX 1.3 and later */
 typedef struct __GLXFBConfigRec *GLXFBConfig;
 typedef XID GLXFBConfigID;
-typedef XID GLXContextID;
 typedef XID GLXWindow;
 typedef XID GLXPbuffer;