Last sanity checking centralization for "task #7142 : Sanity check user-configurable values".

This commit is contained in:
fbernon
2007-09-07 17:59:30 +00:00
parent 3dfe5f993b
commit 027a70a415
3 changed files with 6 additions and 11 deletions

View File

@@ -587,12 +587,6 @@ extern struct tcp_pcb *tcp_tmp_pcb; /* Only used for temporary storage. */
} while(0)
#endif /* LWIP_DEBUG */
/* finally, check some defines */
#if TCP_WND > 0xffff
#error TCP_WND must fit in an u16_t
#endif
#ifdef __cplusplus
}
#endif

View File

@@ -159,11 +159,6 @@ err_t etharp_raw(struct netif *netif, const struct eth_addr *ethsrc_addr,
#define eth_addr_cmp(addr1, addr2) (memcmp((addr1)->addr, (addr2)->addr, ETHARP_HWADDR_LEN) == 0)
/* finally, check some defines */
#if ARP_TABLE_SIZE > 0x7f
#error ARP_TABLE_SIZE must fit in an s8_t
#endif
extern const struct eth_addr ethbroadcast, ethzero;
#ifdef __cplusplus