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
@@ -922,13 +922,11 @@ static int tcp_rx ( struct pk_buff *pkb,
}
/** TCP protocol */
struct tcpip_protocol tcp_protocol = {
struct tcpip_protocol tcp_protocol __tcpip_protocol = {
.name = "TCP",
.rx = tcp_rx,
.tcpip_proto = IP_TCP,
.csum_offset = 16,
};
TCPIP_PROTOCOL ( tcp_protocol );
#endif /* USE_UIP */