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_NET_STACK_H_
#define _ESP_NETIF_NET_STACK_H_
#ifdef __cplusplus
extern "C" {
#endif
//
// Network stack API: This ESP-NETIF API are supposed to be called only from internals of TCP/IP stack
//
@@ -76,4 +80,8 @@ void esp_netif_free_rx_buffer(void *esp_netif, void* buffer);
* @}
*/
#ifdef __cplusplus
}
#endif
#endif //_ESP_NETIF_NET_STACK_H_