diff options
author | Dave Jones <davej@redhat.com> | 2007-03-22 12:27:49 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-03-22 12:27:49 -0700 |
commit | b6f99a211957910a07437f46ce54dcfb1755cf84 (patch) | |
tree | 0ae2ffc1982d445318363fb94d656b9a483c0c7a /net/ipv6/route.c | |
parent | 289f42492c0958871b6045050474c752ec99704f (diff) | |
download | linux-b6f99a211957910a07437f46ce54dcfb1755cf84.tar.gz linux-b6f99a211957910a07437f46ce54dcfb1755cf84.tar.bz2 linux-b6f99a211957910a07437f46ce54dcfb1755cf84.zip |
[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/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 0e1f4b2cd3dd..a6b3117df546 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -308,7 +308,7 @@ static inline void rt6_probe(struct rt6_info *rt) /* * Default Router Selection (RFC 2461 6.3.6) */ -static int inline rt6_check_dev(struct rt6_info *rt, int oif) +static inline int rt6_check_dev(struct rt6_info *rt, int oif) { struct net_device *dev = rt->rt6i_dev; int ret = 0; @@ -328,7 +328,7 @@ static int inline rt6_check_dev(struct rt6_info *rt, int oif) return ret; } -static int inline rt6_check_neigh(struct rt6_info *rt) +static inline int rt6_check_neigh(struct rt6_info *rt) { struct neighbour *neigh = rt->rt6i_nexthop; int m = 0; |