Commit 4e854a21aa3d0dbb281db911849ed3d7cb73303c

Dan Nicholson 2009-04-21T23:22:25

listing: Drop unused deviceSpec argument The server might care about this, but ListComponents is just reading xkb files.

diff --git a/include/X11/extensions/XKBcommon.h b/include/X11/extensions/XKBcommon.h
index 9e8fbf6..59a43ea 100644
--- a/include/X11/extensions/XKBcommon.h
+++ b/include/X11/extensions/XKBcommon.h
@@ -139,8 +139,7 @@ extern XkbcDescPtr
 XkbcCompileKeymapFromFile(FILE *inputFile, const char *mapName);
 
 extern XkbComponentListPtr
-XkbcListComponents(unsigned int deviceSpec, XkbComponentNamesPtr ptrns,
-                   int *maxMatch);
+XkbcListComponents(XkbComponentNamesPtr ptrns, int *maxMatch);
 
 _XFUNCPROTOEND
 
diff --git a/src/xkbcomp/listing.c b/src/xkbcomp/listing.c
index 710e933..a2bb9fc 100644
--- a/src/xkbcomp/listing.c
+++ b/src/xkbcomp/listing.c
@@ -479,8 +479,7 @@ GenerateComponent(XkbComponentListPtr complist, unsigned type, char *head_in,
 /***====================================================================***/
 
 XkbComponentListPtr
-XkbcListComponents(unsigned int deviceSpec, XkbComponentNamesPtr ptrns,
-                   int *maxMatch)
+XkbcListComponents(XkbComponentNamesPtr ptrns, int *maxMatch)
 {
     XkbComponentListPtr complist = NULL;
     int extra = 0;