Skip to content

Commit

Permalink
net: move netdev header to variants requiring netdev
Browse files Browse the repository at this point in the history
  • Loading branch information
jia200x committed Sep 28, 2020
1 parent 1c4817d commit 4749505
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sys/include/net/gnrc/netif.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
#include "net/gnrc/netif/pktq/type.h"
#endif
#include "net/ndp.h"
#include "net/netdev.h"
#include "net/netopt.h"
#include "errno.h"
#ifdef MODULE_NETSTATS_L2
#include "net/netstats.h"
#endif
Expand Down
1 change: 1 addition & 0 deletions sys/include/net/gnrc/netif/ethernet.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#define NET_GNRC_NETIF_ETHERNET_H

#include "net/gnrc/netif.h"
#include "net/netdev.h"

#ifdef __cplusplus
extern "C" {
Expand Down
1 change: 1 addition & 0 deletions sys/include/net/gnrc/netif/ieee802154.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#define NET_GNRC_NETIF_IEEE802154_H

#include "net/gnrc/netif.h"
#include "net/netdev.h"

#ifdef __cplusplus
extern "C" {
Expand Down
1 change: 1 addition & 0 deletions sys/include/net/gnrc/netif/lorawan_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#define NET_GNRC_NETIF_LORAWAN_BASE_H

#include "net/gnrc/netif.h"
#include "net/netdev.h"

#ifdef __cplusplus
extern "C" {
Expand Down
1 change: 1 addition & 0 deletions sys/include/net/gnrc/netif/raw.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#ifndef NET_GNRC_NETIF_RAW_H
#define NET_GNRC_NETIF_RAW_H

#include "net/netdev.h"
#include "net/gnrc/netif.h"

#ifdef __cplusplus
Expand Down
1 change: 1 addition & 0 deletions sys/net/gnrc/netif/gnrc_netif_device_type.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#if IS_USED(MODULE_GNRC_NETIF_IPV6)
#include "net/ipv6.h"
#endif
#include "net/netdev.h"
#include "net/gnrc/netif.h"
#include "net/eui48.h"
#include "net/ethernet.h"
Expand Down
1 change: 1 addition & 0 deletions sys/net/gnrc/network_layer/ipv6/nib/nib.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "net/gnrc/pktqueue.h"
#include "net/gnrc/sixlowpan/nd.h"
#include "net/ndp.h"
#include "net/netdev.h"
#include "net/sixlowpan/nd.h"
#if IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_DNS)
#include "net/sock/dns.h"
Expand Down

0 comments on commit 4749505

Please sign in to comment.