Skip to content

Commit a2023f5

Browse files
committed
tree-wide: Sort includes alphabetically
This was done by running a locally built clang-format with llvm/llvm-project#137617 applied on all .c and .h files. Our clang-format include sorting configuration will always put various glibc headers that might conflict with linux headers first to avoid these conflicts. This is a little overzealous as it will put these headers first regardless of whether the conflicting Linux header is included or not but since it's very hard to figure out whether the conflicting Linux header is included (transitively) or not, being a bit overzealous shouldn't be a big problem and might actually end up saving developers some pain down the road.
1 parent a453902 commit a2023f5

File tree

467 files changed

+588
-604
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

467 files changed

+588
-604
lines changed

src/analyze/analyze-architectures.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3-
#include "analyze.h"
43
#include "analyze-architectures.h"
4+
#include "analyze.h"
55
#include "format-table.h"
66

77
static int add_arch(Table *t, Architecture a) {

src/analyze/analyze-blame.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3-
#include "analyze.h"
43
#include "analyze-blame.h"
54
#include "analyze-time-data.h"
5+
#include "analyze.h"
66
#include "format-table.h"
77

88
int verb_blame(int argc, char *argv[], void *userdata) {

src/analyze/analyze-calendar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3-
#include "analyze.h"
43
#include "analyze-calendar.h"
4+
#include "analyze.h"
55
#include "calendarspec.h"
66
#include "format-table.h"
77
#include "terminal-util.h"

src/analyze/analyze-capability.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3-
#include "analyze.h"
43
#include "analyze-capability.h"
4+
#include "analyze.h"
55
#include "cap-list.h"
66
#include "capability-util.h"
77
#include "format-table.h"

src/analyze/analyze-cat-config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3-
#include "analyze.h"
43
#include "analyze-cat-config.h"
4+
#include "analyze.h"
55
#include "conf-files.h"
66
#include "constants.h"
77
#include "path-util.h"

src/analyze/analyze-chid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3-
#include "analyze.h"
43
#include "analyze-chid.h"
4+
#include "analyze.h"
55
#include "chid-fundamental.h"
66
#include "efi-api.h"
77
#include "escape.h"

src/analyze/analyze-condition.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
#include <stdlib.h>
44

5-
#include "analyze.h"
65
#include "analyze-condition.h"
76
#include "analyze-verify-util.h"
7+
#include "analyze.h"
88
#include "condition.h"
99
#include "conf-parser.h"
1010
#include "load-fragment.h"

src/analyze/analyze-dot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3-
#include "analyze.h"
43
#include "analyze-dot.h"
4+
#include "analyze.h"
55
#include "bus-error.h"
66
#include "bus-locator.h"
77
#include "bus-unit-util.h"

src/analyze/analyze-exit-status.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3-
#include "analyze.h"
43
#include "analyze-exit-status.h"
4+
#include "analyze.h"
55
#include "exit-status.h"
66
#include "format-table.h"
77

src/analyze/analyze-filesystems.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
22

3-
#include "analyze.h"
43
#include "analyze-filesystems.h"
4+
#include "analyze.h"
55
#include "fileio.h"
66
#include "filesystems.h"
77
#include "set.h"

0 commit comments

Comments
 (0)