diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2012-10-16 14:06:30 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2012-11-05 13:24:59 -0600 |
commit | 1aa783754e21a263b0973516850656b13fd18f0d (patch) | |
tree | 470be5d47bca37d787199b697bf780f92e4d7396 /hw | |
parent | 27c5966de35d4726dd9795b4828d4236851f6a88 (diff) |
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>
Diffstat (limited to 'hw')
-rwxr-xr-x | hw/xfree86/sdksyms.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xfree86/sdksyms.sh b/hw/xfree86/sdksyms.sh index fa1989379..48b48b5db 100755 --- a/hw/xfree86/sdksyms.sh +++ b/hw/xfree86/sdksyms.sh @@ -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" |