From: Nick Bowler Date: Thu, 4 Apr 2024 01:11:11 +0000 (-0400) Subject: tests: Remove stray semicolons from errthread test. X-Git-Tag: v1.3~3 X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/commitdiff_plain/b04b9661ec2aa112cde483c4c43c0fa616e7549f tests: Remove stray semicolons from errthread test. At toplevel (outside of any C function) it is not valid to have extra semicolons, even though most compilers don't actually care. --- diff --git a/t/errthread.c b/t/errthread.c index 3161cf4..d09c701 100644 --- a/t/errthread.c +++ b/t/errthread.c @@ -181,7 +181,7 @@ static void thread_result(void) { tap_result(1, "thread runs"); } -DEFINE_SIMPLE_THREAD_TEST(check_thread_create, thread_result); +DEFINE_SIMPLE_THREAD_TEST(check_thread_create, thread_result) static void err_in_thread(void) { @@ -201,7 +201,7 @@ static void err_in_thread(void) tap_diag("thread[2] exit"); } -DEFINE_SIMPLE_THREAD_TEST(check_err_in_thread, err_in_thread); +DEFINE_SIMPLE_THREAD_TEST(check_err_in_thread, err_in_thread) int main(void) {