X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..6d6685a82d5e1bbc9c2324ba777c937053770780:/tests/test-timer-correctness.c?ds=sidebyside diff --git a/tests/test-timer-correctness.c b/tests/test-timer-correctness.c index e523929..1327f00 100644 --- a/tests/test-timer-correctness.c +++ b/tests/test-timer-correctness.c @@ -113,7 +113,6 @@ static int cmp_timeval(const void* a, const void *b) int main(int argc, char **argv) { int i, j; - struct thread t; struct timeval **alarms; master = thread_master_create(); @@ -190,8 +189,7 @@ int main(int argc, char **argv) } XFREE(MTYPE_TMP, alarms); - while (thread_fetch(master, &t)) - thread_call(&t); + thread_main (master); return 0; }