Turn on -Wmissing-declarations following #67 cleaning up a few places that triggered it
This commit is contained in:
parent
c890bb6125
commit
8d56c0af9d
2
Makefile
2
Makefile
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue