]> 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)
commitc82a80f66567ce3837935b281e0b13d9c96bfa04
tree40af6a1d8805919970f149e4728f47fe4d7fb931
parent644a1806af51df0a9e4033f3ed303805345b7d40
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