diff options
| author | Marty Connor | 2006-08-09 06:42:14 +0200 |
|---|---|---|
| committer | Marty Connor | 2006-08-09 06:42:14 +0200 |
| commit | ee9ae8130a7acfbc6a96dd86cf6cf62569e68169 (patch) | |
| tree | 63a80d61dd24cd4f649a478c79f733efeb3c771d /src/net/ethernet.c | |
| parent | Make VERSION_MAJOR for gPXE be 0 (diff) | |
| download | ipxe-ee9ae8130a7acfbc6a96dd86cf6cf62569e68169.tar.gz ipxe-ee9ae8130a7acfbc6a96dd86cf6cf62569e68169.tar.xz ipxe-ee9ae8130a7acfbc6a96dd86cf6cf62569e68169.zip | |
Remove _PROTOCOL macros for gcc 3.2 compatibility
Diffstat (limited to 'src/net/ethernet.c')
| -rw-r--r-- | src/net/ethernet.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 ); |
