]> git.draconx.ca Git - cdecl99.git/commitdiff
tests: Remove stray semicolons from errthread test.
authorNick Bowler <nbowler@draconx.ca>
Thu, 4 Apr 2024 01:11:11 +0000 (21:11 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 4 Apr 2024 01:13:00 +0000 (21:13 -0400)
At toplevel (outside of any C function) it is not valid to have
extra semicolons, even though most compilers don't actually care.

t/errthread.c

index 3161cf4c482a4ff17f95408f3d599cc1ebef14f8..d09c701c6313ca6ea1ce68a831570fbc06f9f6af 100644 (file)
@@ -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)
 {