diff options
author | NRK <nrk@disroot.org> | 2022-10-27 02:14:53 +0600 |
---|---|---|
committer | drkhsh <me@drkhsh.at> | 2022-10-26 23:32:07 +0200 |
commit | 28ef0b242c32e8ae8b4df2b4b380e30bf581130f (patch) | |
tree | 2d415abf274f910a09059afaadcc6c146aa1b7a4 /components/swap.c | |
parent | f29aa9ab0656c938ad0c0d4a6136ff25bd82ebf9 (diff) | |
download | slstatus-28ef0b242c32e8ae8b4df2b4b380e30bf581130f.tar.gz |
components/*.c: include slstatus.h
this gives the compiler a chance to check weather the prototype and
definiton matches or not, which would catch issues like 3c47701.
Diffstat (limited to 'components/swap.c')
-rw-r--r-- | components/swap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/swap.c b/components/swap.c index 2509db1..98983ee 100644 --- a/components/swap.c +++ b/components/swap.c @@ -5,6 +5,7 @@ #include <string.h> #include "../util.h" +#include "../slstatus.h" #if defined(__linux__) static int |