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:
NRK
2022-10-27 02:14:53 +06:00
committed by drkhsh
parent f29aa9ab06
commit 28ef0b242c
23 changed files with 23 additions and 1 deletions

View File

@ -31,7 +31,7 @@ COM =\
all: slstatus
$(COM:=.o): config.mk $(REQ:=.h)
$(COM:=.o): config.mk $(REQ:=.h) slstatus.h
slstatus.o: slstatus.c slstatus.h arg.h config.h config.mk $(REQ:=.h)
.c.o: