Add altcp to Filelists.mk

Some compile fixes in altcp_tcp.c and httpd.c
This commit is contained in:
Dirk Ziegelmeier
2017-03-22 22:57:50 +01:00
parent f7d215043c
commit 060a47f88a
3 changed files with 7 additions and 4 deletions

View File

@@ -46,6 +46,7 @@
#if LWIP_ALTCP /* don't build if not configured for use in lwipopts.h */
#include "lwip/altcp.h"
#include "lwip/altcp_tcp.h"
#include "lwip/priv/altcp_priv.h"
#include "lwip/tcp.h"
#include "lwip/mem.h"
@@ -343,7 +344,7 @@ altcp_tcp_dealloc(struct altcp_pcb *conn)
/* no private state to clean up */
}
err_t
static err_t
altcp_tcp_get_tcp_addrinfo(struct altcp_pcb *conn, int local, ip_addr_t *addr, u16_t *port)
{
if (conn) {
@@ -354,7 +355,7 @@ altcp_tcp_get_tcp_addrinfo(struct altcp_pcb *conn, int local, ip_addr_t *addr, u
}
#ifdef LWIP_DEBUG
enum tcp_state
static enum tcp_state
altcp_tcp_dbg_get_tcp_state(struct altcp_pcb *conn)
{
if (conn) {