From e2635a884201893cba84b8a1192f59c104f79575 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 4 Apr 2003 01:34:16 -0800 Subject: [PATCH] [IPV4]: C99 initializers for ip_output.c --- net/ipv4/ip_output.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 3f6dead5daa24..f5dbd274ec40c 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c @@ -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, }; /* -- 2.53.0