Commit cd59de4
committed
tree-wide: Sort includes
This was done by running a locally built clang-format with
llvm/llvm-project#137617 applied on all .c
and .h files.
This commit fixes numerous cases where includes weren't sorted alphabetically
and moves all <linux/*.h> includes to the very bottom after our own includes
to avoid conflicts when a linux header is included before a glibc one such as
<netinet/in.h> or <net/if.h> which causes compilation failures.1 parent 21e5eb3 commit cd59de4
File tree
470 files changed
+617
-637
lines changed- src
- analyze
- basic
- include
- linux
- netfilter_ipv4
- netfilter
- netinet
- bootctl
- boot
- coredump
- core
- bpf
- restrict_fs
- socket_bind
- creds
- cryptsetup
- cryptsetup-tokens
- fundamental
- hibernate-resume
- home
- hostname
- import
- integritysetup
- journal-remote
- journal
- libsystemd-network
- libsystemd
- sd-bus
- sd-event
- sd-journal
- sd-json
- sd-netlink
- sd-varlink
- libudev
- login
- machine
- mountfsd
- network
- netdev
- tc
- wait-online
- nspawn
- nsresourced
- bpf/userns_restrict
- nss-systemd
- portable
- pstore
- random-seed
- reply-password
- resolve
- run
- socket-proxy
- systemctl
- systemd
- sysupdate
- test
- timedate
- timesync
- tmpfiles
- udev
- v4l_id
- update-utmp
- userdb
- vconsole
- vmspawn
- xdg-autostart-generator
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
470 files changed
+617
-637
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments