From 2cabcc44858627f0951d9b702baf8120be7c5cf3 Mon Sep 17 00:00:00 2001 From: Johnny Richard Date: Sun, 30 Apr 2023 00:43:25 +0200 Subject: style: Add -Wmissing-declarations to CC CFLAGS The refactoring also replace a if statement by switch statement. Signed-off-by: Johnny Richard --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d416dfc..6152ece 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ TARGET := pipac SRC_DIR := src BUILD_DIR := build -CFLAGS := -Werror -Wall -Wextra -pedantic -std=c11 -ggdb +CFLAGS := -Werror -Wall -Wextra -Wmissing-declarations -pedantic -std=c11 -ggdb SRCS := $(wildcard $(SRC_DIR)/*.c) HEADERS := $(wildcard $(SRC_DIR)/*.h) -- cgit v1.2.3