Message ID | 20081124134430.462.41146.sendpatchset@x2.localnet |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Patrick McHardy <kaber@trash.net> Date: Mon, 24 Nov 2008 14:44:38 +0100 (MET) > netfilter: xtables: add missing const qualifier to xt_tgchk_param > > When entryinfo was a standalone parameter to functions, it used to be > "const void *". Put the const back in. > > Signed-off-by: Jan Engelhardt <jengelh@medozas.de> > Signed-off-by: Patrick McHardy <kaber@trash.net> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h index be41b60..e52ce47 100644 --- a/include/linux/netfilter/x_tables.h +++ b/include/linux/netfilter/x_tables.h @@ -251,7 +251,7 @@ struct xt_target_param { */ struct xt_tgchk_param { const char *table; - void *entryinfo; + const void *entryinfo; const struct xt_target *target; void *targinfo; unsigned int hook_mask;