From 8d56c0af9dc19fb0b8cfc493b0c30519cd4acee1 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Mon, 3 Aug 2020 11:44:34 +0800 Subject: [PATCH] Turn on -Wmissing-declarations following #67 cleaning up a few places that triggered it --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 25d75bd..bd9d915 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ BLADERF ?= yes CPPFLAGS += -DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" DIALECT = -std=c11 -CFLAGS += $(DIALECT) -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -fno-common +CFLAGS += $(DIALECT) -O2 -g -Wall -Wmissing-declarations -Werror -W -D_DEFAULT_SOURCE -fno-common LIBS = -lpthread -lm -lrt ifeq ($(RTLSDR), yes)