Make tcp_debug_state_str() always available, not only in DEBUG mode

This commit is contained in:
goldsimon
2009-10-07 17:44:59 +00:00
parent bd2bc2ee14
commit 68f92050e9
2 changed files with 7 additions and 7 deletions

View File

@@ -587,10 +587,10 @@ u16_t tcp_eff_send_mss(u16_t sendmss, struct ip_addr *addr);
extern struct tcp_pcb *tcp_input_pcb;
extern u32_t tcp_ticks;
const char* tcp_debug_state_str(enum tcp_state s);
#if TCP_DEBUG || TCP_INPUT_DEBUG || TCP_OUTPUT_DEBUG
void tcp_debug_print(struct tcp_hdr *tcphdr);
void tcp_debug_print_flags(u8_t flags);
const char* tcp_debug_state_str(enum tcp_state s);
void tcp_debug_print_state(enum tcp_state s);
void tcp_debug_print_pcbs(void);
s16_t tcp_pcbs_sane(void);