global: Drop common.h inclusion

In order to make it easier to move on to dropping common.h from code
directly, remove common.h inclusion from the rest of the header file
which had been including it.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2023-12-14 13:16:47 -05:00
parent 460b2c068c
commit cb3ce95401
31 changed files with 7 additions and 40 deletions

View File

@@ -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;

View File

@@ -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

View File

@@ -9,7 +9,6 @@
#ifndef __NET_RAND_H__
#define __NET_RAND_H__
#include <common.h>
#include <dm/uclass.h>
#include <rng.h>

View File

@@ -12,7 +12,6 @@
#ifndef __PING_H__
#define __PING_H__
#include <common.h>
#include <net.h>
/*