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/addrconf.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/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index a7fee6b27320..1b616992d916 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -804,7 +804,7 @@ struct ipv6_saddr_score { | |||
804 | #define IPV6_SADDR_SCORE_LABEL 0x0020 | 804 | #define IPV6_SADDR_SCORE_LABEL 0x0020 |
805 | #define IPV6_SADDR_SCORE_PRIVACY 0x0040 | 805 | #define IPV6_SADDR_SCORE_PRIVACY 0x0040 |
806 | 806 | ||
807 | static int inline ipv6_saddr_preferred(int type) | 807 | static inline int ipv6_saddr_preferred(int type) |
808 | { | 808 | { |
809 | if (type & (IPV6_ADDR_MAPPED|IPV6_ADDR_COMPATv4| | 809 | if (type & (IPV6_ADDR_MAPPED|IPV6_ADDR_COMPATv4| |
810 | IPV6_ADDR_LOOPBACK|IPV6_ADDR_RESERVED)) | 810 | IPV6_ADDR_LOOPBACK|IPV6_ADDR_RESERVED)) |
@@ -813,7 +813,7 @@ static int inline ipv6_saddr_preferred(int type) | |||
813 | } | 813 | } |
814 | 814 | ||
815 | /* static matching label */ | 815 | /* static matching label */ |
816 | static int inline ipv6_saddr_label(const struct in6_addr *addr, int type) | 816 | static inline int ipv6_saddr_label(const struct in6_addr *addr, int type) |
817 | { | 817 | { |
818 | /* | 818 | /* |
819 | * prefix (longest match) label | 819 | * prefix (longest match) label |
@@ -3318,7 +3318,7 @@ errout: | |||
3318 | rtnl_set_sk_err(RTNLGRP_IPV6_IFADDR, err); | 3318 | rtnl_set_sk_err(RTNLGRP_IPV6_IFADDR, err); |
3319 | } | 3319 | } |
3320 | 3320 | ||
3321 | static void inline ipv6_store_devconf(struct ipv6_devconf *cnf, | 3321 | static inline void ipv6_store_devconf(struct ipv6_devconf *cnf, |
3322 | __s32 *array, int bytes) | 3322 | __s32 *array, int bytes) |
3323 | { | 3323 | { |
3324 | BUG_ON(bytes < (DEVCONF_MAX * 4)); | 3324 | BUG_ON(bytes < (DEVCONF_MAX * 4)); |