mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-02 16:11:41 +01:00
esp_netif/tcpip_adapter: declare functions extern "C"
Merges https://github.com/espressif/esp-idf/pull/4408
This commit is contained in:
committed by
David Cermak
parent
ac47c74ec4
commit
f21107d12d
@@ -15,6 +15,10 @@
|
||||
#ifndef _TCPIP_ADAPTER_COMPAT_H_
|
||||
#define _TCPIP_ADAPTER_COMPAT_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief This function is called from ethernet driver init code to facilitate
|
||||
* autostart fo the driver in backward compatible tcpip_adapter way
|
||||
@@ -54,4 +58,8 @@ esp_err_t tcpip_adapter_set_default_wifi_handlers(void);
|
||||
*/
|
||||
esp_err_t tcpip_adapter_clear_default_wifi_handlers(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif //_TCPIP_ADAPTER_COMPAT_H_
|
||||
|
||||
Reference in New Issue
Block a user