Turn on -Wmissing-declarations following #67 cleaning up a few places that triggered it

This commit is contained in:
Oliver Jowett 2020-08-03 11:44:34 +08:00
parent c890bb6125
commit 8d56c0af9d
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ BLADERF ?= yes
CPPFLAGS += -DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" CPPFLAGS += -DMODES_DUMP1090_VERSION=\"$(DUMP1090_VERSION)\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\"
DIALECT = -std=c11 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 LIBS = -lpthread -lm -lrt
ifeq ($(RTLSDR), yes) ifeq ($(RTLSDR), yes)