diff options
author | Dave Jones <davej@redhat.com> | 2007-03-22 15:27:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-03-22 15:27:49 -0400 |
commit | b6f99a211957910a07437f46ce54dcfb1755cf84 (patch) | |
tree | 0ae2ffc1982d445318363fb94d656b9a483c0c7a /net/ipv6/route.c | |
parent | 289f42492c0958871b6045050474c752ec99704f (diff) |
[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) | |||
308 | /* | 308 | /* |
309 | * Default Router Selection (RFC 2461 6.3.6) | 309 | * Default Router Selection (RFC 2461 6.3.6) |
310 | */ | 310 | */ |
311 | static int inline rt6_check_dev(struct rt6_info *rt, int oif) | 311 | static inline int rt6_check_dev(struct rt6_info *rt, int oif) |
312 | { | 312 | { |
313 | struct net_device *dev = rt->rt6i_dev; | 313 | struct net_device *dev = rt->rt6i_dev; |
314 | int ret = 0; | 314 | int ret = 0; |
@@ -328,7 +328,7 @@ static int inline rt6_check_dev(struct rt6_info *rt, int oif) | |||
328 | return ret; | 328 | return ret; |
329 | } | 329 | } |
330 | 330 | ||
331 | static int inline rt6_check_neigh(struct rt6_info *rt) | 331 | static inline int rt6_check_neigh(struct rt6_info *rt) |
332 | { | 332 | { |
333 | struct neighbour *neigh = rt->rt6i_nexthop; | 333 | struct neighbour *neigh = rt->rt6i_nexthop; |
334 | int m = 0; | 334 | int m = 0; |