diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/arp.h | 2 | ||||
-rw-r--r-- | net/link_local.h | 5 | ||||
-rw-r--r-- | net/net_rand.h | 1 | ||||
-rw-r--r-- | net/ping.h | 1 |
4 files changed, 1 insertions, 8 deletions
@@ -12,8 +12,6 @@ #ifndef __ARP_H__ #define __ARP_H__ -#include <common.h> - extern struct in_addr net_arp_wait_packet_ip; /* MAC address of waiting packet's destination */ extern uchar *arp_wait_packet_ethaddr; diff --git a/net/link_local.h b/net/link_local.h index bb99816..d870125 100644 --- a/net/link_local.h +++ b/net/link_local.h @@ -10,15 +10,12 @@ * Licensed under the GPL v2 or later */ -#if defined(CONFIG_CMD_LINK_LOCAL) - #ifndef __LINK_LOCAL_H__ #define __LINK_LOCAL_H__ -#include <common.h> +struct arp_hdr; void link_local_receive_arp(struct arp_hdr *arp, int len); void link_local_start(void); #endif /* __LINK_LOCAL_H__ */ -#endif diff --git a/net/net_rand.h b/net/net_rand.h index 6a52cda..d3c5559 100644 --- a/net/net_rand.h +++ b/net/net_rand.h @@ -9,7 +9,6 @@ #ifndef __NET_RAND_H__ #define __NET_RAND_H__ -#include <common.h> #include <dm/uclass.h> #include <rng.h> @@ -12,7 +12,6 @@ #ifndef __PING_H__ #define __PING_H__ -#include <common.h> #include <net.h> /* |