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:
parent
9346ded0af
commit
754d1274a7
5 changed files with 17 additions and 16 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue