]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
netfilter: xtables: add missing const qualifier to xt_tgchk_param
authorJan Engelhardt <jengelh@medozas.de>
Tue, 25 Nov 2008 00:06:17 +0000 (16:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Nov 2008 00:06:17 +0000 (16:06 -0800)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/x_tables.h

index be41b609c88fddbe6384ab5e73f3fe393fb56320..e52ce475d19f13796080ba21f24e4464054f0990 100644 (file)
@@ -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;