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;