summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ipv6_sockglue.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-11-29 16:28:56 -0800
committerDavid S. Miller <davem@davemloft.net>2005-11-29 16:28:56 -0800
commit34a0b3cdc078746788ffc49e56da0db62b8b6ea4 (patch)
tree9505e971ed1f001a96c372f0c6c5ebe1ced87d14 /net/ipv6/ipv6_sockglue.c
parentd127e94a5cf1c9c996b8c67cd2595b96c3e35e4c (diff)
[IPV6]: make two functions static
This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ipv6_sockglue.c')
-rw-r--r--net/ipv6/ipv6_sockglue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/ipv6_sockglue.c b/net/ipv6/ipv6_sockglue.c
index 25757ade989..3620718defe 100644
--- a/net/ipv6/ipv6_sockglue.c
+++ b/net/ipv6/ipv6_sockglue.c
@@ -628,8 +628,8 @@ e_inval:
return -EINVAL;
}
-int ipv6_getsockopt_sticky(struct sock *sk, struct ipv6_opt_hdr *hdr,
- char __user *optval, int len)
+static int ipv6_getsockopt_sticky(struct sock *sk, struct ipv6_opt_hdr *hdr,
+ char __user *optval, int len)
{
if (!hdr)
return 0;