net: wifi: add extern "C" to wifi_mgmt.h

Add extern "C" to net/wifi_mgmt.h to support C++ usage.

Signed-off-by: Ilya Tagunov <tagunil@gmail.com>
This commit is contained in:
Ilya Tagunov 2020-06-06 00:35:07 +03:00 committed by Jukka Rissanen
commit 2b076d8bc7

View file

@ -15,6 +15,10 @@
#include <net/net_mgmt.h>
#include <net/wifi.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Management part definitions */
#define _NET_WIFI_LAYER NET_MGMT_LAYER_L2
@ -143,4 +147,8 @@ void wifi_mgmt_raise_disconnect_result_event(struct net_if *iface, int status);
#endif /* CONFIG_WIFI_OFFLOAD */
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_NET_WIFI_MGMT_H_ */