From f91afe4f3ebcac3fb65a402c6c85cf1df5e2b52a Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Fri, 3 Jun 2011 17:19:09 +0200 Subject: [PATCH] Add prototype for CheckDefaultMap(). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Those warnings disappear accordingly: | CC parseutils.lo | parseutils.c:742: warning: no previous prototype for ‘CheckDefaultMap’ | CC xkbscan.lo | xkbscan.l: In function ‘XKBParseString’: | xkbscan.l:220: warning: implicit declaration of function ‘CheckDefaultMap’ | xkbscan.l:220: warning: nested extern declaration of ‘CheckDefaultMap’ Reviewed-by: Dirk Wallenstein Signed-off-by: Cyril Brulebois --- src/xkbcomp/parseutils.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xkbcomp/parseutils.h b/src/xkbcomp/parseutils.h index 9cf5097..c0a78df 100644 --- a/src/xkbcomp/parseutils.h +++ b/src/xkbcomp/parseutils.h @@ -179,6 +179,8 @@ extern int XKBParseFile(FILE * /* file */ , extern int XKBParseString(const char *string, XkbFile ** pRtrn); +extern void CheckDefaultMap(XkbFile * maps); + extern XkbFile *CreateXKBFile(int /* type */ , char * /* name */ , ParseCommon * /* defs */ , -- 2.7.4