summaryrefslogtreecommitdiff
path: root/os/log.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2010-03-22 00:44:28 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2010-03-22 00:48:04 -0500
commitabf4e0b7e349b0238b2b97a16b8a308b5026af31 (patch)
tree2002b6dc3c8174acf5f10684d8e825e9b08d5706 /os/log.c
parent57a049ea89b008c0b60316c3b6e6ff5c8fbd4cad (diff)
New header for XF86Bigfont server functions
Xext/xf86bigfont.c contains three non-static functions which are called elsewhere in the server. This creates a new header containing these declarations in order to fix several warnings: xf86bigfont.c:285: warning: no previous prototype for `XF86BigfontFreeFontShm' dixfonts.c:502: warning: implicit declaration of function `XF86BigfontFreeFontS$ dixfonts.c:502: warning: nested extern declaration of `XF86BigfontFreeFontShm' log.c:436: warning: implicit declaration of function `XF86BigfontCleanup' log.c:436: warning: nested extern declaration of `XF86BigfontCleanup' Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'os/log.c')
-rw-r--r--os/log.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/log.c b/os/log.c
index 0002e59f0..f4832c12f 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>
+#include "xf86bigfontsrv.h"
#endif
#ifdef DDXOSVERRORF