mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-04-17 11:42:56 +00:00
Remove warning for TCP_LISTEN_BACKLOG==0
This commit is contained in:
parent
9a0dac5885
commit
a7bcdf4398
@ -85,7 +85,7 @@ void tcp_err (struct tcp_pcb *pcb,
|
||||
#if TCP_LISTEN_BACKLOG
|
||||
#define tcp_accepted(pcb) (((struct tcp_pcb_listen *)(pcb))->accepts_pending--)
|
||||
#else /* TCP_LISTEN_BACKLOG */
|
||||
#define tcp_accepted(pcb)
|
||||
#define tcp_accepted(pcb) LWIP_UNUSED_ARG(pcb);
|
||||
#endif /* TCP_LISTEN_BACKLOG */
|
||||
|
||||
void tcp_recved (struct tcp_pcb *pcb, u16_t len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user