gcc3 compatibility: removed ARP_NET_PROTOCOL().

This commit is contained in:
Michael Brown
2006-08-08 17:44:25 +00:00
parent d2bdf81505
commit 68e33224ef
2 changed files with 3 additions and 10 deletions

View File

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