include/net: additional cleanup for extern "C" use

The previous patch left some include directives hidden within the body
of the extern "C" block.  Lift them out to the top of the file where
they're more visible.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
Peter Bigot 2019-08-12 16:40:47 -05:00 committed by Carles Cufí
commit 754d1274a7
5 changed files with 17 additions and 16 deletions

View file

@ -722,14 +722,14 @@ static inline int net_eth_get_ptp_port(struct net_if *iface)
void net_eth_set_ptp_port(struct net_if *iface, int port);
#endif /* CONFIG_NET_GPTP */
#include <syscalls/ethernet.h>
/**
* @}
*/
#ifdef __cplusplus
}
#endif
/**
* @}
*/
#include <syscalls/ethernet.h>
#endif /* ZEPHYR_INCLUDE_NET_ETHERNET_H_ */