define tcp_backlog_set() as dummy-define when backlog feature is disable

This commit is contained in:
sg
2016-03-18 20:05:04 +01:00
parent 3a62a45bcd
commit 44e1a2d8e2
3 changed files with 2 additions and 3 deletions

View File

@@ -366,6 +366,7 @@ void tcp_err (struct tcp_pcb *pcb, tcp_err_fn err);
#else /* TCP_LISTEN_BACKLOG */
#define tcp_accepted(pcb) LWIP_ASSERT("pcb->state == LISTEN (called for wrong pcb?)", \
(pcb)->state == LISTEN)
#define tcp_backlog_set(pcb, new_backlog)
#endif /* TCP_LISTEN_BACKLOG */
void tcp_recved (struct tcp_pcb *pcb, u16_t len);