summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/netfilter/ipset/ip_set_ahash.h
diff options
context:
space:
mode:
authorChris Friesen <chris.friesen@genband.com>2011-07-09 10:19:41 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-07-09 10:19:41 +0200
commit3d5a1a2e312cd2677cfa93438b66de7cbba6f58e (patch)
treebd3f347422c1d6cd922c430e426fde34be12c684 /kernel/include/linux/netfilter/ipset/ip_set_ahash.h
parent76f6727dd65d2c3c188b11100257277736e99817 (diff)
Fix compiler warnings "'hash_ip4_data_next' declared inline after being called"
Some gcc versions warn about prototypes without "inline" when the declaration includes the "inline" keyword. The fix generates a false error message "marked inline, but without a definition" with sparse below 0.4.2. Signed-off-by: Chris Friesen <chris.friesen@genband.com>
Diffstat (limited to 'kernel/include/linux/netfilter/ipset/ip_set_ahash.h')
-rw-r--r--kernel/include/linux/netfilter/ipset/ip_set_ahash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/include/linux/netfilter/ipset/ip_set_ahash.h b/kernel/include/linux/netfilter/ipset/ip_set_ahash.h
index 1e7f759..b89fb79 100644
--- a/kernel/include/linux/netfilter/ipset/ip_set_ahash.h
+++ b/kernel/include/linux/netfilter/ipset/ip_set_ahash.h
@@ -392,7 +392,7 @@ retry:
return 0;
}
-static void
+static inline void
type_pf_data_next(struct ip_set_hash *h, const struct type_pf_elem *d);
/* Add an element to a hash and update the internal counters when succeeded,