mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 21:03:10 +00:00
server/tests: fix timer for test_empty_success
This commit is contained in:
parent
3ede55b2ba
commit
8511c747d1
@ -4,9 +4,15 @@
|
||||
|
||||
#include <spice.h>
|
||||
|
||||
struct SpiceTimer {
|
||||
int a,b;
|
||||
};
|
||||
|
||||
SpiceTimer* timer_add(SpiceTimerFunc func, void *opaque)
|
||||
{
|
||||
return NULL;
|
||||
static struct SpiceTimer t = {0,};
|
||||
|
||||
return &t;
|
||||
}
|
||||
|
||||
void timer_start(SpiceTimer *timer, uint32_t ms)
|
||||
@ -57,5 +63,7 @@ int main(void)
|
||||
spice_server_set_port(server, 5911);
|
||||
spice_server_init(server, &core);
|
||||
|
||||
spice_server_destroy(server);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user