mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-04 04:50:33 +01:00
Add 'FONT_PATH_NAME_ELEMENT_CONST' to dix-config.h and xorg-server.h
This signals to the fontsproto code that the X server has been fixed to allow the name member in a FontPathElement struct to be declared const to eliminate piles of warnings when assigning string constants to them. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
1ad8d12e7f
commit
1487145b41
2 changed files with 6 additions and 0 deletions
|
|
@ -472,4 +472,7 @@
|
|||
/* Don't let Xdefs.h define 'pointer' */
|
||||
#define _XTYPEDEF_POINTER 1
|
||||
|
||||
/* Ask fontsproto to make font path element names const */
|
||||
#define FONT_PATH_ELEMENT_NAME_CONST 1
|
||||
|
||||
#endif /* _DIX_CONFIG_H_ */
|
||||
|
|
|
|||
|
|
@ -224,4 +224,7 @@
|
|||
/* Use XTrans FD passing support */
|
||||
#undef XTRANS_SEND_FDS
|
||||
|
||||
/* Ask fontsproto to make font path element names const */
|
||||
#define FONT_PATH_ELEMENT_NAME_CONST 1
|
||||
|
||||
#endif /* _XORG_SERVER_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue