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))

View file

@ -32,6 +32,9 @@
#ifndef __ARCH_CC_H__
#define __ARCH_CC_H__
/* include ESP SDK prototypes as they're used in some LWIP routines */
#include "espressif/sdk_prototypes.h"
/* Include some files for defining library routines */
#include <stdio.h> /* printf, fflush, FILE */
#include <stdlib.h> /* abort */

@ -1 +1 @@
Subproject commit 808c24237c1e9a3862b2eb1e0a94fd34ede6ec79
Subproject commit f041c2e4c4c57445cdd8ec7d674dede1be020f02