From 703494c7faa482388d93693a397056af8d4daae4 Mon Sep 17 00:00:00 2001 From: Luca Bacci Date: Fri, 26 May 2023 17:46:08 +0200 Subject: [PATCH] testsuite: rename 'wait' function to 'timed_loop' When compiling for macOS, CLang errors out because a non-static wait function is declared in sys/wait.h. --- testsuite/gtk/test-focus-chain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuite/gtk/test-focus-chain.c b/testsuite/gtk/test-focus-chain.c index c89e276126..e58912ae0d 100644 --- a/testsuite/gtk/test-focus-chain.c +++ b/testsuite/gtk/test-focus-chain.c @@ -78,7 +78,7 @@ quit_iteration_loop (gpointer user_data) } static void -wait (guint millis) +timed_loop (guint millis) { gboolean keep_running = TRUE; @@ -145,7 +145,7 @@ generate_focus_chain (GtkWidget *window, } g_string_append_printf (output, "%s\n", name); - wait (100); + timed_loop (100); count++; if (!first)