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

@@ -15,6 +15,10 @@
#ifndef _ESP_NETIF_DEFAULTS_H
#define _ESP_NETIF_DEFAULTS_H
#ifdef __cplusplus
extern "C" {
#endif
//
// Macros to assemble master configs with partial configs from netif, stack and driver
//
@@ -85,4 +89,8 @@ extern const esp_netif_inherent_config_t _g_esp_netif_inherent_sta_config;
extern const esp_netif_inherent_config_t _g_esp_netif_inherent_ap_config;
extern const esp_netif_inherent_config_t _g_esp_netif_inherent_eth_config;
#ifdef __cplusplus
}
#endif
#endif //_ESP_NETIF_DEFAULTS_H