Hi. This is the first of yet a few more patches that add C99 initializers in an effort to aid readability and remove warnings if '-W' is used. Art Haas ===== net/ipv6/icmp.c 1.14 vs edited ===== --- 1.14/net/ipv6/icmp.c Tue Jan 7 04:19:42 2003 +++ edited/net/ipv6/icmp.c Thu Feb 13 18:41:04 2003 @@ -705,9 +705,15 @@ #ifdef CONFIG_SYSCTL ctl_table ipv6_icmp_table[] = { - {NET_IPV6_ICMP_RATELIMIT, "ratelimit", - &sysctl_icmpv6_time, sizeof(int), 0644, NULL, &proc_dointvec}, - {0}, + { + .ctl_name = NET_IPV6_ICMP_RATELIMIT, + .procname = "ratelimit", + .data = &sysctl_icmpv6_time, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = &proc_dointvec + }, + { .ctl_name = 0 }, }; #endif -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759 - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html