mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-30 10:50:07 +01:00
Gets rid of these gcc 4.8 warnings:
dmxcb.c:50:12: warning: redundant redeclaration of ‘PanoramiXPixWidth’
[-Wredundant-decls]
extern int PanoramiXPixWidth;
^
In file included from dmxcb.c:49:0:
../../Xext/panoramiXsrv.h:12:22: note: previous declaration of
‘PanoramiXPixWidth’ was here
extern _X_EXPORT int PanoramiXPixWidth;
^
dmxcb.c:51:12: warning: redundant redeclaration of ‘PanoramiXPixHeight’
[-Wredundant-decls]
extern int PanoramiXPixHeight;
^
In file included from dmxcb.c:49:0:
../../Xext/panoramiXsrv.h:13:22: note: previous declaration of
‘PanoramiXPixHeight’ was here
extern _X_EXPORT int PanoramiXPixHeight;
^
dmxcb.c:52:12: warning: redundant redeclaration of ‘PanoramiXNumScreens’
[-Wredundant-decls]
extern int PanoramiXNumScreens;
^
In file included from dmxcb.c:49:0:
../../Xext/panoramiXsrv.h:11:22: note: previous declaration of
‘PanoramiXNumScreens’ was here
extern _X_EXPORT int PanoramiXNumScreens;
^
dmxpict.c:60:12: warning: redundant redeclaration of ‘RenderErrBase’
[-Wredundant-decls]
extern int RenderErrBase;
^
In file included from ../../render/glyphstr.h:29:0,
from ../../render/picturestr.h:28,
from dmx.h:65,
from dmxpict.c:42:
../../render/picture.h:176:22: note: previous declaration of ‘RenderErrBase’
was here
extern _X_EXPORT int RenderErrBase;
^
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
|
||
|---|---|---|
| .. | ||
| config | ||
| doc | ||
| doxygen | ||
| examples | ||
| glxProxy | ||
| input | ||
| man | ||
| .gitignore | ||
| dmx-config.h | ||
| dmx.c | ||
| dmx.h | ||
| dmx_glxvisuals.c | ||
| dmx_glxvisuals.h | ||
| dmxcb.c | ||
| dmxcb.h | ||
| dmxclient.h | ||
| dmxcmap.c | ||
| dmxcmap.h | ||
| dmxcursor.c | ||
| dmxcursor.h | ||
| dmxdpms.c | ||
| dmxdpms.h | ||
| dmxextension.c | ||
| dmxextension.h | ||
| dmxfont.c | ||
| dmxfont.h | ||
| dmxgc.c | ||
| dmxgc.h | ||
| dmxgcops.c | ||
| dmxgcops.h | ||
| dmxinit.c | ||
| dmxinit.h | ||
| dmxinput.c | ||
| dmxinput.h | ||
| dmxlog.c | ||
| dmxlog.h | ||
| dmxpict.c | ||
| dmxpict.h | ||
| dmxpixmap.c | ||
| dmxpixmap.h | ||
| dmxprop.c | ||
| dmxprop.h | ||
| dmxscrinit.c | ||
| dmxscrinit.h | ||
| dmxstat.c | ||
| dmxstat.h | ||
| dmxsync.c | ||
| dmxsync.h | ||
| dmxvisual.c | ||
| dmxvisual.h | ||
| dmxwindow.c | ||
| dmxwindow.h | ||
| Makefile.am | ||