From bae1ab9e614ab1497ebe300866244cd8ab6fdbca 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2f93b87..542b1f0 100644 --- a/Makefile +++ b/Makefile @@ -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: -- cgit v1.2.3