This list was used in the signal handler but that is no longer the case,
so let's localize this.
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1067>
rmdir(f->path);
}
-static struct list created_files_list; /* list of all files to remove at the end
- of the test run */
static struct suite *current_suite = NULL;
static void litest_init_udev_rules(struct list *created_files_list);
if (setrlimit(RLIMIT_CORE, &corelimit) != 0)
perror("WARNING: Core dumps not disabled");
- list_init(&created_files_list);
+ struct list created_files_list = LIST_INIT(created_files_list);
if (run_deviceless) {
litest_setup_quirks(&created_files_list,