diff options
author | Marty Connor <mdc@etherboot.org> | 2006-08-09 04:42:14 +0000 |
---|---|---|
committer | Marty Connor <mdc@etherboot.org> | 2006-08-09 04:42:14 +0000 |
commit | ee9ae8130a7acfbc6a96dd86cf6cf62569e68169 (patch) | |
tree | 63a80d61dd24cd4f649a478c79f733efeb3c771d /src/net/udp.c | |
parent | dd7e103d58c04b59d019216989861977b61f2ca6 (diff) | |
download | ipxe-ee9ae8130a7acfbc6a96dd86cf6cf62569e68169.tar.gz |
Remove _PROTOCOL macros for gcc 3.2 compatibility
Diffstat (limited to 'src/net/udp.c')
-rw-r--r-- | src/net/udp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/udp.c b/src/net/udp.c index 41847932..21bfebcd 100644 --- a/src/net/udp.c +++ b/src/net/udp.c @@ -267,11 +267,9 @@ static int udp_rx ( struct pk_buff *pkb, struct sockaddr_tcpip *st_src, return rc; } -struct tcpip_protocol udp_protocol = { +struct tcpip_protocol udp_protocol __tcpip_protocol = { .name = "UDP", .rx = udp_rx, .tcpip_proto = IP_UDP, .csum_offset = 6, }; - -TCPIP_PROTOCOL ( udp_protocol ); |