From 3eaa19d74b5862794c8ffbcc747e90a3fecbd1c2 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 13 Apr 2025 11:45:40 -0700 Subject: [PATCH] test: remove stray semi-colons after functions Clears warnings from clang 19.1.7: test/list.c:95:2: warning: extra ';' outside of a function [-Wextra-semi] 95 | }; | ^ test/list.c:137:2: warning: extra ';' outside of a function [-Wextra-semi] 137 | }; | ^ Fixes: 92788e677 ("test: add some tests for basic list manipulation.") Signed-off-by: Alan Coopersmith Part-of: --- test/list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/list.c b/test/list.c index dbb7a768d..b93cfd43a 100644 --- a/test/list.c +++ b/test/list.c @@ -92,7 +92,7 @@ test_xorg_list_add(void) c = xorg_list_first_entry(&parent.children, struct child, node); assert(memcmp(c, &child[2], sizeof(struct child)) == 0); -}; +} static void test_xorg_list_append(void) @@ -134,7 +134,7 @@ test_xorg_list_append(void) xorg_list_for_each_entry(c, &parent.children, node) { assert(memcmp(c, &child[i++], sizeof(struct child)) == 0); } -}; +} static void test_xorg_list_del(void)