From ee9ae8130a7acfbc6a96dd86cf6cf62569e68169 Mon Sep 17 00:00:00 2001 From: Marty Connor Date: Wed, 9 Aug 2006 04:42:14 +0000 Subject: Remove _PROTOCOL macros for gcc 3.2 compatibility --- src/net/ethernet.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/net/ethernet.c') diff --git a/src/net/ethernet.c b/src/net/ethernet.c index c4b526f51..4cdf571c6 100644 --- a/src/net/ethernet.c +++ b/src/net/ethernet.c @@ -104,7 +104,7 @@ static const char * eth_ntoa ( const void *ll_addr ) { } /** Ethernet protocol */ -struct ll_protocol ethernet_protocol = { +struct ll_protocol ethernet_protocol __ll_protocol = { .name = "Ethernet", .ll_proto = htons ( ARPHRD_ETHER ), .ll_addr_len = ETH_ALEN, @@ -113,5 +113,3 @@ struct ll_protocol ethernet_protocol = { .rx = eth_rx, .ntoa = eth_ntoa, }; - -LL_PROTOCOL ( ethernet_protocol ); -- cgit v1.2.3-55-g7522