On Fri, Jan 28, 2011 at 11:33:09PM +0100, Cyril Brulebois wrote: > 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’ > > Signed-off-by: Cyril Brulebois <[email protected]> > --- > src/xkbcomp/parseutils.h | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > 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 */ , > -- > 1.7.2.3 >
Reviewed-by: Dirk Wallenstein <[email protected]> -- Greetings, Dirk _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
