xserver/hw
Jon TURNEY 0ea65df8a5 hw/xwin: Fix some of the warnings in generated gl wrapper code
Fix some of the warnings in generated gl wrapper code:
- glWinResolveHelper takes a const char * argument
- ensure formal parameter names don't collide with reserved names or shadow
global declarations (e.g. near, far, index (from string.h), remainder (from
math.h), pointer (from Xdefs.h) by postpending a '_'.

generated_gl_wrappers.c:13:3: warning: passing argument 2 of 'glWinResolveHelper' discards qualifiers from pointer target type
glwrap.c:70:1: note: expected 'char *' but argument is of type 'const char *'
[repeated many times]
generated_gl_wrappers.c: In function 'glVertexAttrib1dARBWrapper': generated_gl_wrappers.c:6884:47: warning: declaration of 'index' shadows a global declaration [-Wshadow]
generated_gl_wrappers.c:6886:3: warning: passing argument 2 of 'glWinResolveHelper' discards qualifiers from pointer target type
[repeated many times]

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
2012-10-16 22:29:48 +01:00
..
dmx dix: Remove refs to mi backing store from docs 2012-09-23 10:31:39 -07:00
kdrive Revert "kinput: allocate enough space for null character." 2012-10-07 12:25:53 -07:00
vfb dix: Remove #includes of mibstore.h 2012-09-23 10:31:27 -07:00
xfree86 Fix compilation of Xorg DDX without XF86VIDMODE 2012-10-11 12:54:11 +01:00
xnest dix: Remove #includes of mibstore.h 2012-09-23 10:31:27 -07:00
xquartz Merge remote-tracking branch 'ajax/server-1.14-abi-churn' 2012-09-24 11:43:01 -07:00
xwin hw/xwin: Fix some of the warnings in generated gl wrapper code 2012-10-16 22:29:48 +01:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00