From 28ef0b242c32e8ae8b4df2b4b380e30bf581130f Mon Sep 17 00:00:00 2001 From: NRK Date: Thu, 27 Oct 2022 02:14:53 +0600 Subject: 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. --- components/load_avg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'components/load_avg.c') 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 #include "../util.h" +#include "../slstatus.h" const char * load_avg(void) -- cgit v1.2.3