From 8f3281ed6a7dd91be18673b1ff15e96a1ab6f421 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 10 Jun 2023 14:11:07 -0400 Subject: [PATCH] enable strict prototypes warning --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7b813ca..6b7751f 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ ifeq ($(CONFIG_UBSAN),true) SHARED_FLAGS += -fsanitize=undefined -fno-sanitize-recover=undefined endif -CFLAGS := $(CFLAGS) -std=c17 $(SHARED_FLAGS) -Wmissing-prototypes +CFLAGS := $(CFLAGS) -std=c17 $(SHARED_FLAGS) -Wmissing-prototypes -Wstrict-prototypes CXXFLAGS := $(CXXFLAGS) -std=c++17 -fsized-deallocation $(SHARED_FLAGS) LDFLAGS := $(LDFLAGS) -Wl,-O1,--as-needed,-z,defs,-z,relro,-z,now,-z,nodlopen,-z,text