From a620c61d441b931bc4a52ec07f1b906318ee4069 Mon Sep 17 00:00:00 2001 From: Yasuyuki KOZAKAI Date: Tue, 24 Jul 2007 06:03:45 +0000 Subject: Fixes warning on compilation of ip6tables matches/targets This changes the type of arguments as follows - ip6t_ip6 * -> void * - ip6t_entry * -> void * --- extensions/libip6t_NFLOG.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/libip6t_NFLOG.c') diff --git a/extensions/libip6t_NFLOG.c b/extensions/libip6t_NFLOG.c index 2c0cd3d5..9f4ebaa5 100644 --- a/extensions/libip6t_NFLOG.c +++ b/extensions/libip6t_NFLOG.c @@ -40,7 +40,7 @@ static void init(struct ip6t_entry_target *t, unsigned int *nfcache) } static int parse(int c, char **argv, int invert, unsigned int *flags, - const struct ip6t_entry *entry, + const void *entry, struct xt_entry_target **target) { struct xt_nflog_info *info = (struct xt_nflog_info *)(*target)->data; @@ -126,7 +126,7 @@ static void nflog_print(const struct xt_nflog_info *info, char *prefix) printf("%snflog-threshold %u ", prefix, info->threshold); } -static void print(const struct ip6t_ip6 *ip, const struct xt_entry_target *target, +static void print(const void *ip, const struct xt_entry_target *target, int numeric) { const struct xt_nflog_info *info = (struct xt_nflog_info *)target->data; @@ -134,7 +134,7 @@ static void print(const struct ip6t_ip6 *ip, const struct xt_entry_target *targe nflog_print(info, ""); } -static void save(const struct ip6t_ip6 *ip, const struct xt_entry_target *target) +static void save(const void *ip, const struct xt_entry_target *target) { const struct xt_nflog_info *info = (struct xt_nflog_info *)target->data; -- cgit v1.2.3