]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipset: fix compiler warnings "'hash_ip4_data_next' declared inline after...
authorChris Friesen <chris.friesen@genband.com>
Thu, 21 Jul 2011 10:07:10 +0000 (12:07 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 21 Jul 2011 10:07:10 +0000 (12:07 +0200)
commitc9a54b6a6097f31e40d1d0d32beea72fe85a2758
tree40af6a1d8805919970f149e4728f47fe4d7fb931
parentc4151fd52c9f497a9f7176a001bc12477bcaf633
netfilter: ipset: 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>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter/ipset/ip_set_ahash.h