summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-09-07 18:17:00 -0500
committerFederico Mena Quintero <federico@gnome.org>2023-05-09 10:03:10 -0600
commitbbab63476098a28a18ad2ae693c856b7ec2c7e83 (patch)
treec3aea7e8b1f452f6b478568aa8133e7fb0907c7a
parentb81ea2b7f2f45052eda8e40fd616a44d28d5698e (diff)
downloadat-spi2-core-bbab63476098a28a18ad2ae693c856b7ec2c7e83.tar.gz
atk_test_util.c: make run_app() a private function
-rw-r--r--tests/at-spi2-atk/atk_test_util.c2
-rw-r--r--tests/at-spi2-atk/atk_test_util.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/at-spi2-atk/atk_test_util.c b/tests/at-spi2-atk/atk_test_util.c
index 1f80d459..d67c985c 100644
--- a/tests/at-spi2-atk/atk_test_util.c
+++ b/tests/at-spi2-atk/atk_test_util.c
@@ -37,7 +37,7 @@ clean_exit_on_fail ()
signal (SIGABRT, assert_clean_exit);
}
-void
+static void
run_app (const char *file_name)
{
child_pid = fork ();
diff --git a/tests/at-spi2-atk/atk_test_util.h b/tests/at-spi2-atk/atk_test_util.h
index 6fc3ecf5..d08d23fb 100644
--- a/tests/at-spi2-atk/atk_test_util.h
+++ b/tests/at-spi2-atk/atk_test_util.h
@@ -35,7 +35,6 @@
extern pid_t child_pid;
-void run_app (const char *file_name);
AtspiAccessible *get_root_obj (const char *file_name);
void terminate_app (void);
void clean_exit_on_fail ();