mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 11:40:15 +01:00
dmx: remove redundant declaration of dmxFontPrivateIndex from dmxfont.h
Gets rid of 8 instances of gcc 4.8 warning:
In file included from glxcmds.c:38:0:
../../../hw/dmx/dmxfont.h:57:12: warning: redundant redeclaration of
‘dmxFontPrivateIndex’ [-Wredundant-decls]
extern int dmxFontPrivateIndex;
^
In file included from glxcmds.c:35:0:
../../../hw/dmx/dmx.h:388:12: note: previous declaration of
‘dmxFontPrivateIndex’ was here
extern int dmxFontPrivateIndex; /**< Private index for Fonts */
^
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 1033b85196)
This commit is contained in:
parent
649f37fa01
commit
3af4160822
1 changed files with 0 additions and 2 deletions
|
|
@ -54,6 +54,4 @@ extern Bool dmxUnrealizeFont(ScreenPtr pScreen, FontPtr pFont);
|
|||
extern Bool dmxBELoadFont(ScreenPtr pScreen, FontPtr pFont);
|
||||
extern Bool dmxBEFreeFont(ScreenPtr pScreen, FontPtr pFont);
|
||||
|
||||
extern int dmxFontPrivateIndex;
|
||||
|
||||
#endif /* DMXFONT_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue