'notdef' means it's not used, so we remove it
This commit is contained in:
@@ -324,34 +324,6 @@ RegisterIndirectChoice (
|
||||
return 1;
|
||||
}
|
||||
|
||||
#ifdef notdef
|
||||
static void
|
||||
RemoveIndirectChoice (clientAddress, connectionType)
|
||||
ARRAY8Ptr clientAddress;
|
||||
CARD16 connectionType;
|
||||
{
|
||||
ChoicePtr c, prev;
|
||||
|
||||
prev = 0;
|
||||
for (c = choices; c; c = c->next)
|
||||
{
|
||||
if (XdmcpARRAY8Equal (clientAddress, &c->client) &&
|
||||
connectionType == c->connectionType)
|
||||
{
|
||||
if (prev)
|
||||
prev->next = c->next;
|
||||
else
|
||||
choices = c->next;
|
||||
XdmcpDisposeARRAY8 (&c->client);
|
||||
XdmcpDisposeARRAY8 (&c->choice);
|
||||
free ((char *) c);
|
||||
return;
|
||||
}
|
||||
prev = c;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/*ARGSUSED*/
|
||||
static void
|
||||
AddChooserHost (
|
||||
|
||||
@@ -105,15 +105,6 @@ XdmPrintDataHex(const char *s, const char *a, int l)
|
||||
Debug ("\n");
|
||||
}
|
||||
|
||||
#ifdef notdef /* not used */
|
||||
XdmPrintKey (s, k)
|
||||
char *s;
|
||||
XdmAuthKeyRec *k;
|
||||
{
|
||||
XdmPrintDataHex (s, (char *) k->data, 8);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef XDMCP
|
||||
void
|
||||
XdmPrintArray8Hex(const char *s, ARRAY8Ptr a)
|
||||
|
||||
Reference in New Issue
Block a user