From: Michal Privoznik Date: Fri, 24 Oct 2025 08:11:04 +0000 (+0200) Subject: ch: Sort driver sources and drop header files X-Git-Tag: CVE-2025-12748~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81ce368347e944c8a5ad0bd400f51f0a2ea820a2;p=thirdparty%2Flibvirt.git ch: Sort driver sources and drop header files Firstly, there's no need to list header files in ch_driver_sources (we don't do that anywhere else, and meson is smart enough to figure them out). And secondly, the list of source file is not sorted which means new source files are added in random order. Thus, drop header files from the list and sort it. Signed-off-by: Michal Privoznik Reviewed-by: Jiri Denemark --- diff --git a/src/ch/meson.build b/src/ch/meson.build index b3e9c03832..aef2d86533 100644 --- a/src/ch/meson.build +++ b/src/ch/meson.build @@ -1,26 +1,15 @@ ch_driver_sources = [ - 'ch_capabilities.h', + 'ch_alias.c', 'ch_capabilities.c', 'ch_conf.c', - 'ch_conf.h', 'ch_domain.c', - 'ch_domain.h', 'ch_driver.c', - 'ch_driver.h', 'ch_events.c', - 'ch_events.h', + 'ch_hostdev.c', + 'ch_hotplug.c', 'ch_interface.c', - 'ch_interface.h', 'ch_monitor.c', - 'ch_monitor.h', 'ch_process.c', - 'ch_process.h', - 'ch_hostdev.c', - 'ch_hostdev.h', - 'ch_hotplug.c', - 'ch_hotplug.h', - 'ch_alias.c', - 'ch_alias.h', ] driver_source_files += files(ch_driver_sources)