diff --git a/src/core/init.c b/src/core/init.c index f7de191e..328b3ca5 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -127,13 +127,22 @@ /* Compile-time checks for deprecated options. */ #ifdef MEMP_NUM_TCPIP_MSG - #error MEMP_NUM_TCPIP_MSG option is deprecated. Remove it from your lwipopts.h. + #error "MEMP_NUM_TCPIP_MSG option is deprecated. Remove it from your lwipopts.h." +#endif +#ifdef MEMP_NUM_API_MSG + #error "MEMP_NUM_API_MSG option is deprecated. Remove it from your lwipopts.h." +#endif +#ifdef TCP_REXMIT_DEBUG + #error "TCP_REXMIT_DEBUG option is deprecated. Remove it from your lwipopts.h." +#endif +#ifdef RAW_STATS + #error "RAW_STATS option is deprecated. Remove it from your lwipopts.h." #endif #ifdef ETHARP_QUEUE_FIRST - #error ETHARP_QUEUE_FIRST option is deprecated. Remove it from your lwipopts.h. + #error "ETHARP_QUEUE_FIRST option is deprecated. Remove it from your lwipopts.h." #endif #ifdef ETHARP_ALWAYS_INSERT - #error ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h. + #error "ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h." #endif #if SO_REUSE /* I removed the lot since this was an ugly hack. It broke the raw-API. diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index 734baa32..a295e4c5 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -1386,13 +1386,6 @@ #define TCP_RTO_DEBUG LWIP_DBG_OFF #endif -/** - * TCP_REXMIT_DEBUG: Unused. - */ -#ifndef TCP_REXMIT_DEBUG -#define TCP_REXMIT_DEBUG LWIP_DBG_OFF -#endif - /** * TCP_CWND_DEBUG: Enable debugging for TCP congestion window. */