static guint8 *xdmcp_cookie = NULL;
static void
-cleanup ()
+cleanup (void)
{
if (lock_path)
unlink (lock_path);
}
static void
-indicate_ready ()
+indicate_ready (void)
{
void *handler;
handler = signal (SIGUSR1, SIG_IGN);
{
int i;
char *pid_string;
- gboolean listen_tcp = TRUE;
- gboolean listen_unix = TRUE;
gboolean do_xdmcp = FALSE;
guint xdmcp_port = 0;
gchar *xdmcp_host = NULL;
char *protocol = argv[i+1];
i++;
if (strcmp (protocol, "tcp") == 0)
- listen_tcp = FALSE;
+ ;//listen_tcp = FALSE;
else if (strcmp (protocol, "unix") == 0)
- listen_unix = FALSE;
+ ;//listen_unix = FALSE;
}
else if (strcmp (arg, "-nr") == 0)
{