summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_user.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2007-03-22 20:27:49 +0100
committerDavid S. Miller <davem@davemloft.net>2007-03-22 20:27:49 +0100
commitb6f99a211957910a07437f46ce54dcfb1755cf84 (patch)
tree0ae2ffc1982d445318363fb94d656b9a483c0c7a /net/xfrm/xfrm_user.c
parent[SCTP]: Correctly reset ssthresh when restarting association (diff)
downloadlinux-b6f99a211957910a07437f46ce54dcfb1755cf84.tar.xz
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/xfrm/xfrm_user.c')
-rw-r--r--net/xfrm/xfrm_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c
index 96789952f6a3..e81e2fb3d429 100644
--- a/net/xfrm/xfrm_user.c
+++ b/net/xfrm/xfrm_user.c
@@ -2025,7 +2025,7 @@ nlmsg_failure:
return -1;
}
-static int inline xfrm_sa_len(struct xfrm_state *x)
+static inline int xfrm_sa_len(struct xfrm_state *x)
{
int l = 0;
if (x->aalg)