diff options
author | NRK <nrk@disroot.org> | 2022-10-27 02:14:53 +0600 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2022-10-27 12:59:39 +0100 |
commit | bae1ab9e614ab1497ebe300866244cd8ab6fdbca (patch) | |
tree | 2d415abf274f910a09059afaadcc6c146aa1b7a4 /components/load_avg.c | |
parent | 9b057c200881fa54d1d64d4de685d2e2fa52bb52 (diff) |
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/load_avg.c')
-rw-r--r-- | components/load_avg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/load_avg.c b/components/load_avg.c index 5c2e252..2b523e7 100644 --- a/components/load_avg.c +++ b/components/load_avg.c @@ -3,6 +3,7 @@ #include <stdlib.h> #include "../util.h" +#include "../slstatus.h" const char * load_avg(void) |