esp_netif: added missing C++ guards

Closes https://github.com/espressif/esp-idf/issues/4389
This commit is contained in:
David Cermak
2019-11-22 09:40:54 +01:00
parent e4f641f5a9
commit c5a6bc9985
6 changed files with 50 additions and 0 deletions

View File

@@ -22,6 +22,10 @@
#include "esp_netif_types.h"
#include "esp_netif_defaults.h"
#ifdef __cplusplus
extern "C" {
#endif
//
// Note: tcpip_adapter legacy API has to be included by default to provide full compatibility
// for applications that used tcpip_adapter API without explicit inclusion of tcpip_adapter.h
@@ -736,4 +740,8 @@ size_t esp_netif_get_nr_of_ifs(void);
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* _ESP_NETIF_H_ */