lwip: Update public port-layer headers with c++ guards, sdkconfig include

This doesn't fix any particular bug, just to meet best practices. Although
including some LWIP headers from C++ files may have caused linker issues.
This commit is contained in:
Angus Gratton
2021-04-09 18:53:23 +10:00
parent f1caa2971d
commit 0fc9253ed9
3 changed files with 16 additions and 3 deletions

View File

@@ -16,10 +16,18 @@
#ifndef _LWIP_DEBUG_H
#define _LWIP_DEBUG_H
#ifdef __cplusplus
extern "C" {
#endif
void dbg_lwip_tcp_pcb_show(void);
void dbg_lwip_udp_pcb_show(void);
void dbg_lwip_tcp_rxtx_show(void);
void dbg_lwip_udp_rxtx_show(void);
void dbg_lwip_mem_cnt_show(void);
#ifdef __cplusplus
}
#endif
#endif // _LWIP_DEBUG_H