mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-05 22:46:06 +00:00
dix: fix redundant redeclaration warnings in dixfont
These functions are already declared in <X11/fonts/fontproto.h>. Redeclaring them just for _X_EXPORT causes tons of warnings throughout xserver, but they need to be declared somewhere to be picked up by sdksyms.sh. Doing so in a private header limits the warnings to sdksyms.c; fixing those as well would require changes to fontsproto. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
27c5966de3
commit
1aa783754e
5 changed files with 57 additions and 39 deletions
|
|
@ -259,6 +259,7 @@ cat > sdksyms.c << EOF
|
|||
#include "dixevents.h"
|
||||
#include "dixfont.h"
|
||||
#include "dixfontstr.h"
|
||||
#include "dixfontstubs.h"
|
||||
#include "dixgrabs.h"
|
||||
#include "dixstruct.h"
|
||||
#include "exevents.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue