diff options
author | drkhsh <me@drkhsh.at> | 2022-10-27 23:18:30 +0200 |
---|---|---|
committer | drkhsh <me@drkhsh.at> | 2022-10-28 01:03:20 +0200 |
commit | 8c15f9d480503d8edbfc41edb31861b00b13cbb0 (patch) | |
tree | e08c2b8ded6542dbc9bde533566858db000e3788 /components/swap.c | |
parent | 600bedb7bb67eda3898d968466fd992983dd68c9 (diff) |
radical re-formatting 0/3: Alphabetic headers
Except stated otherwise in comment.
Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
Diffstat (limited to 'components/swap.c')
-rw-r--r-- | components/swap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/swap.c b/components/swap.c index 2e8a6fb..49ba3cb 100644 --- a/components/swap.c +++ b/components/swap.c @@ -4,8 +4,8 @@ #include <stdlib.h> #include <string.h> -#include "../util.h" #include "../slstatus.h" +#include "../util.h" #if defined(__linux__) static int @@ -199,11 +199,11 @@ return fmt_human(used * 1024, 1024); } #elif defined(__FreeBSD__) + #include <fcntl.h> + #include <kvm.h> #include <stdlib.h> #include <sys/types.h> - #include <fcntl.h> #include <unistd.h> - #include <kvm.h> static int getswapinfo(struct kvm_swap *swap_info, size_t size) { |