Remove _PROTOCOL macros for gcc 3.2 compatibility

This commit is contained in:
Marty Connor
2006-08-09 04:42:14 +00:00
parent dd7e103d58
commit ee9ae8130a
9 changed files with 17 additions and 55 deletions
+1 -3
View File
@@ -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 );