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.
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "../util.h"
|
||||
#include "../slstatus.h"
|
||||
|
||||
const char *
|
||||
load_avg(void)
|
||||
|
Reference in New Issue
Block a user