mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 09:00:05 +01:00
Gets rid of 9 instances of gcc 4.8 warning:
glxcmds.c: In function ‘CreateContext’:
glxcmds.c:378:13: warning: passing argument 1 of ‘glxIsExtensionSupported’
discards ‘const’ qualifier from pointer target type [enabled by default]
else if (glxIsExtensionSupported("GLX_SGIX_fbconfig")) {
^
In file included from glxserver.h:49:0,
from glxcmds.c:41:
glxscreens.h:53:12: note: expected ‘char *’ but argument is of type
‘const char *’
extern int glxIsExtensionSupported(char *ext);
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Rémi Cardona <remi@gentoo.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| compsize.c | ||
| compsize.h | ||
| g_disptab.c | ||
| g_disptab.h | ||
| g_renderswap.c | ||
| global.c | ||
| glxcmds.c | ||
| glxcmds.h | ||
| glxcmdsswap.c | ||
| glxcontext.h | ||
| glxdrawable.h | ||
| glxerror.h | ||
| glxext.c | ||
| glxext.h | ||
| glxfbconfig.c | ||
| glxfbconfig.h | ||
| glxscreens.c | ||
| glxscreens.h | ||
| glxserver.h | ||
| glxsingle.c | ||
| glxsingle.h | ||
| glxswap.c | ||
| glxswap.h | ||
| glxutil.h | ||
| glxvendor.c | ||
| glxvendor.h | ||
| glxvisuals.c | ||
| glxvisuals.h | ||
| Makefile.am | ||
| render2swap.c | ||
| renderpixswap.c | ||
| unpack.h | ||