[PATCH 3/4] os: fix XF86Bigfont declaration warnings in log.c

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


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

log.c:436: warning: implicit declaration of function `XF86BigfontCleanup'
log.c:436: warning: nested extern declaration of `XF86BigfontCleanup'

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

diff --git a/os/log.c b/os/log.c
index 599b1ff..f102120 100644
--- a/os/log.c
+++ b/os/log.c
@@ -99,8 +99,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
 #endif
 
 #ifdef XF86BIGFONT
-#define _XF86BIGFONT_SERVER_
-#include <X11/extensions/xf86bigfont.h>
+extern void XF86BigfontCleanup(void);
 #endif
 
 #ifdef DDXOSVERRORF
-- 
1.6.6.1



More information about the xorg-devel mailing list