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 be41b60..e52ce47 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;