mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-06 22:35:00 +00:00
tests: Remove unused declarations
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
581b289825
commit
55bb4f2395
@ -30,15 +30,10 @@
|
||||
SpiceCoreInterface *core;
|
||||
SpiceTimer *ping_timer;
|
||||
|
||||
void show_channels(SpiceServer *server);
|
||||
|
||||
int ping_ms = 100;
|
||||
|
||||
static void pinger(SPICE_GNUC_UNUSED void *opaque)
|
||||
{
|
||||
// show_channels is not thread safe - fails if disconnections / connections occur
|
||||
//show_channels(server);
|
||||
|
||||
core->timer_start(ping_timer, ping_ms);
|
||||
}
|
||||
|
||||
|
||||
@ -26,15 +26,11 @@
|
||||
|
||||
SpiceTimer *ping_timer;
|
||||
|
||||
void show_channels(SpiceServer *server);
|
||||
|
||||
int ping_ms = 100;
|
||||
|
||||
static void pinger(void *opaque)
|
||||
{
|
||||
Test *test = opaque;
|
||||
// show_channels is not thread safe - fails if disconnections / connections occur
|
||||
//show_channels(server);
|
||||
|
||||
test->core->timer_start(ping_timer, ping_ms);
|
||||
}
|
||||
|
||||
@ -26,15 +26,11 @@
|
||||
|
||||
SpiceTimer *ping_timer;
|
||||
|
||||
void show_channels(SpiceServer *server);
|
||||
|
||||
int ping_ms = 100;
|
||||
|
||||
static void pinger(void *opaque)
|
||||
{
|
||||
Test *test = opaque;
|
||||
// show_channels is not thread safe - fails if disconnections / connections occur
|
||||
//show_channels(server);
|
||||
|
||||
test->core->timer_start(ping_timer, ping_ms);
|
||||
}
|
||||
|
||||
@ -29,11 +29,6 @@
|
||||
#include "test-display-base.h"
|
||||
#include "test-glib-compat.h"
|
||||
|
||||
SpiceCoreInterface *core;
|
||||
SpiceTimer *ping_timer;
|
||||
|
||||
int ping_ms = 100;
|
||||
|
||||
#ifndef MIN
|
||||
#define MIN(a, b) ((a) > (b) ? (b) : (a))
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user