diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 11:58:08 +0400 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-24 02:46:15 +0400 |
commit | 738853bb6d290dc4b52d8c2989c0998d7aa26913 (patch) | |
tree | 3f2215f573ffd631a7de0c606d010dd5f1f4936f /include | |
parent | c68cca35b33c3a7c9fbcfc08de7e91dbdc8cf51f (diff) | |
download | u-boot-738853bb6d290dc4b52d8c2989c0998d7aa26913.tar.xz |
net: cosmetic: Un-typedef ARP_t
Remove typedef and lower-case letters
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/net.h b/include/net.h index 69dceb19f0..eeea466d65 100644 --- a/include/net.h +++ b/include/net.h @@ -254,8 +254,7 @@ struct ip_udp_hdr { /* * Address Resolution Protocol (ARP) header. */ -typedef struct -{ +struct arp_hdr { ushort ar_hrd; /* Format of hardware address */ # define ARP_ETHER 1 /* Ethernet hardware address */ ushort ar_pro; /* Format of protocol address */ @@ -280,7 +279,7 @@ typedef struct uchar ar_tha[]; /* Target hardware address */ uchar ar_tpa[]; /* Target protocol address */ #endif /* 0 */ -} ARP_t; +}; #define ARP_HDR_SIZE (8+20) /* Size assuming ethernet */ |