]> git.neil.brown.name Git - history.git/commitdiff
[IPV4]: C99 initializers for ip_output.c
authorStephen Hemminger <shemminger@osdl.org>
Fri, 4 Apr 2003 09:34:16 +0000 (01:34 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Fri, 4 Apr 2003 09:34:16 +0000 (01:34 -0800)
net/ipv4/ip_output.c

index 3f6dead5daa24d5908563f7f20c880508e0202e7..f5dbd274ec40cdd4e8747de5be1b86edf7976860 100644 (file)
@@ -1293,11 +1293,10 @@ void ip_send_reply(struct sock *sk, struct sk_buff *skb, struct ip_reply_arg *ar
 
 static struct packet_type ip_packet_type =
 {
-       __constant_htons(ETH_P_IP),
-       NULL,   /* All devices */
-       ip_rcv,
-       (void*)1,
-       NULL,
+       .type = __constant_htons(ETH_P_IP),
+       .dev  = NULL,   /* All devices */
+       .func = ip_rcv,
+       .data = (void*)1,
 };
 
 /*