summaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2007-03-22 12:27:49 -0700
committerDavid S. Miller <davem@davemloft.net>2007-03-22 12:27:49 -0700
commitb6f99a211957910a07437f46ce54dcfb1755cf84 (patch)
tree0ae2ffc1982d445318363fb94d656b9a483c0c7a /net/bridge
parent289f42492c0958871b6045050474c752ec99704f (diff)
downloadop-kernel-dev-b6f99a211957910a07437f46ce54dcfb1755cf84.zip
op-kernel-dev-b6f99a211957910a07437f46ce54dcfb1755cf84.tar.gz
[NET]: fix up misplaced inlines.
Turning up the warnings on gcc makes it emit warnings about the placement of 'inline' in function declarations. Here's everything that was under net/ Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r--net/bridge/br_netfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c
index 7712d76..5439a3c 100644
--- a/net/bridge/br_netfilter.c
+++ b/net/bridge/br_netfilter.c
@@ -61,7 +61,7 @@ static int brnf_filter_vlan_tagged __read_mostly = 1;
#define brnf_filter_vlan_tagged 1
#endif
-static __be16 inline vlan_proto(const struct sk_buff *skb)
+static inline __be16 vlan_proto(const struct sk_buff *skb)
{
return vlan_eth_hdr(skb)->h_vlan_encapsulated_proto;
}
OpenPOWER on IntegriCloud