From 68e33224efd8f2116cd107a84d478db761982d85 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 8 Aug 2006 17:44:25 +0000 Subject: gcc3 compatibility: removed ARP_NET_PROTOCOL(). --- src/include/gpxe/arp.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/include/gpxe') diff --git a/src/include/gpxe/arp.h b/src/include/gpxe/arp.h index ffaf418a1..8ff1cff02 100644 --- a/src/include/gpxe/arp.h +++ b/src/include/gpxe/arp.h @@ -26,13 +26,8 @@ struct arp_net_protocol { const void *net_addr ); }; -/** - * Register an ARP protocol - * - * @v protocol ARP protocol - */ -#define ARP_NET_PROTOCOL( protocol ) \ - struct arp_net_protocol protocol __table ( arp_net_protocols, 01 ) +/** Declare an ARP protocol */ +#define __arp_net_protocol __table ( arp_net_protocols, 01 ) extern int arp_resolve ( struct net_device *netdev, struct net_protocol *net_protocol, -- cgit v1.2.3-55-g7522