C99 initializers for pom-ng ip6t_HL.c
PATCH 1/1 C99 initializers for pom-ng ip6t_HL.c
Hello,
let us use C99 initializers in ip6t_HL.c
Regards,
Maciej
ip6t_HL.c (working copy) renamed from ip6t_HL.c (revision 3612) +6 -2
@@ -88,8 +88,12 @@ return 1; } -static struct ip6t_target ip6t_HL = { { NULL, NULL }, "HL", - ip6t_hl_target, ip6t_hl_checkentry, NULL, THIS_MODULE }; +static struct ip6t_target ip6t_HL = { + .name = "HL", + .target = ip6t_hl_target, + .checkentry = ip6t_hl_checkentry, + .me = THIS_MODULE +}; static int __init init(void) {
Quoted 3 lines · Maciej Soltysiak
Hello,
let us use C99 initializers in
ip6t_HL.c
Sending ip6t_HL.c
Transmitting file data .
Committed revision 3630.
1) please make patches apply from the patch-o-matic-ng root directory
2) your patch didn't apply, most likely because your mailer mangled up whitspaces. please use mime attachments.
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie