Commit 8272b1f
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 766eca5 commit 8272b1f
File tree
573 files changed
+1089
-902
lines changed- src
- analyze
- basic
- bootctl
- boot
- coredump
- core
- bpf
- restrict_fs
- restrict_ifaces
- socket_bind
- creds
- cryptsetup
- cryptsetup-tokens
- dissect
- firstboot
- fundamental
- growfs
- hibernate-resume
- home
- hostname
- import
- integritysetup
- journal-remote
- journal
- libsystemd-network
- libsystemd
- sd-bus
- sd-device
- sd-event
- sd-journal
- sd-json
- sd-netlink
- sd-varlink
- libudev
- login
- machine
- mountfsd
- network
- bpf/sysctl_monitor
- netdev
- tc
- wait-online
- nspawn
- nsresourced
- bpf/userns_restrict
- nss-systemd
- oom
- portable
- pstore
- random-seed
- repart
- reply-password
- resolve
- rfkill
- run
- shutdown
- socket-proxy
- sysext
- systemctl
- systemd
- sysupdate
- test
- timedate
- timesync
- tmpfiles
- udev
- ata_id
- cdrom_id
- fido_id
- net
- scsi_id
- 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.
573 files changed
+1089
-902
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