tree-wide: Sort includes

This was done by running a locally built clang-format with
https://github.com/llvm/llvm-project/pull/137617 and
https://github.com/llvm/llvm-project/pull/137840 applied on all .c
and .h files.
This commit is contained in:
Daan De Meyer
2025-04-30 09:30:51 +02:00
parent b773143708
commit 1cf40697e3
445 changed files with 596 additions and 668 deletions
+1 -1
View File
@@ -3,8 +3,8 @@
#include "conf-parser.h"
#include "hash-funcs.h"
#include "path-util.h"
#include "sysupdate-feature.h"
#include "sysupdate.h"
#include "sysupdate-feature.h"
#include "web-util.h"
static Feature *feature_free(Feature *f) {
+1 -2
View File
@@ -8,9 +8,8 @@
#include "sd-id128.h"
#include "fs-util.h"
#include "time-util.h"
#include "sysupdate-partition.h"
#include "time-util.h"
typedef struct Resource Resource;
typedef struct Instance Instance;
+1 -1
View File
@@ -24,11 +24,11 @@
#include "process-util.h"
#include "sort-util.h"
#include "string-table.h"
#include "sysupdate.h"
#include "sysupdate-cache.h"
#include "sysupdate-instance.h"
#include "sysupdate-pattern.h"
#include "sysupdate-resource.h"
#include "sysupdate.h"
#include "utf8.h"
void resource_destroy(Resource *rr) {
+1 -1
View File
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include "ansi-color.h"
#include "alloc-util.h"
#include "ansi-color.h"
#include "string-util.h"
#include "sysupdate-update-set.h"
-1
View File
@@ -6,7 +6,6 @@
#include "bus-locator.h"
#include "log.h"
#include "login-util.h"
#include "sysupdate-util.h"
int reboot_now(void) {