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:
parent
0ecfdf1070
commit
2b076d8bc7
1 changed files with 8 additions and 0 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue