From 1868b2d244834ebb4473e84d84ce78e2a746ee89 Mon Sep 17 00:00:00 2001 From: jani Date: Fri, 7 Feb 2003 10:13:51 +0000 Subject: [PATCH] tcp_timer_needed should be a noop when using the raw API.Fix link error bug #2489 --- src/include/lwip/tcp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/lwip/tcp.h b/src/include/lwip/tcp.h index 4ea1d157..26503731 100644 --- a/src/include/lwip/tcp.h +++ b/src/include/lwip/tcp.h @@ -396,7 +396,11 @@ int tcp_pcbs_sane(void); #define tcp_pcbs_sane() 1 #endif /* TCP_DEBUG */ +#if NO_SYS +#define tcp_timer_needed() +#else void tcp_timer_needed(void); +#endif /* The TCP PCB lists. */ extern struct tcp_pcb_listen *tcp_listen_pcbs; /* List of all TCP PCBs in LISTEN state. */