X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..064d9c633233495319bcaa66335ea3d24c0bd7a1:/tests/test-sig.c diff --git a/tests/test-sig.c b/tests/test-sig.c index f24da96..febfd08 100644 --- a/tests/test-sig.c +++ b/tests/test-sig.c @@ -57,7 +57,6 @@ struct quagga_signal_t sigs[] = }; struct thread_master *master; -struct thread t; int main (void) @@ -71,8 +70,7 @@ main (void) zlog_set_level (NULL, ZLOG_DEST_STDOUT, LOG_DEBUG); zlog_set_level (NULL, ZLOG_DEST_MONITOR, ZLOG_DISABLED); - while (thread_fetch (master, &t)) - thread_call (&t); + thread_main (master); exit (0); }