Add function prototypes for LWIP SDK functions, allow compilng with -Werror again

This commit is contained in:
Angus Gratton 2015-05-21 12:59:23 +10:00
parent dc4ca6861f
commit 7c982da48f
6 changed files with 41 additions and 23 deletions

View file

@ -9,7 +9,7 @@ lwip_INC_DIR = # all in INC_DIRS, needed for normal operation
lwip_SRC_DIR = $(ROOT)/lwip $(LWIP_DIR)api $(LWIP_DIR)core $(LWIP_DIR)core/ipv4 $(LWIP_DIR)netif
# LWIP 1.4.1 generates a single warning so we need to disable -Werror when building it
lwip_CFLAGS = $(subst -Werror,,$(CFLAGS))
lwip_CFLAGS = $(CFLAGS) -Wno-address
$(eval $(call component_compile_rules,lwip))