listing: Drop unused deviceSpec argument

The server might care about this, but ListComponents is just reading xkb
files.
master
Dan Nicholson 2009-04-21 23:22:25 -07:00
parent 481deea178
commit 4e854a21aa
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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;