[PATCH 2/4] dix: fix XF86Bigfont declaration warnings in dixfonts.c

Yaakov (Cygwin/X) yselkowitz at users.sourceforge.net
Sat Feb 20 23:33:13 PST 2010

From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>

dixfonts.c:502: warning: implicit declaration of function `XF86BigfontFreeFontShm'
dixfonts.c:502: warning: nested extern declaration of `XF86BigfontFreeFontShm'

Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
 dix/dixfonts.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dix/dixfonts.c b/dix/dixfonts.c
index 329318d..40e18e4 100644
--- a/dix/dixfonts.c
+++ b/dix/dixfonts.c
@@ -71,8 +71,7 @@ Equipment Corporation.
 #ifdef XF86BIGFONT
-#include <X11/extensions/xf86bigfont.h>
+extern void XF86BigfontFreeFontShm(FontPtr);
 #define QUERYCHARINFO(pci, pr)  *(pr) = (pci)->metrics

More information about the xorg-devel mailing list