[PATCH libxkbcommon] Add prototype for CheckDefaultMap().

Cyril Brulebois kibi at debian.org
Fri Jun 3 08:21:56 PDT 2011


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 <halsmit at t-online.de>
Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
 src/xkbcomp/parseutils.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Old patch, reviewed in january, but not merged yet.

Reminded-off-by: Patchwork

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.5.3



More information about the xorg-devel mailing list