diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-29 19:28:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-29 19:28:56 -0500 |
commit | 34a0b3cdc078746788ffc49e56da0db62b8b6ea4 (patch) | |
tree | 9505e971ed1f001a96c372f0c6c5ebe1ced87d14 /net/ipv6 | |
parent | d127e94a5cf1c9c996b8c67cd2595b96c3e35e4c (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')
-rw-r--r-- | net/ipv6/ip6_output.c | 3 | ||||
-rw-r--r-- | net/ipv6/ipv6_sockglue.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index c1fa693511a1..8523c76ebf76 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c | |||
@@ -774,7 +774,8 @@ out_err_release: | |||
774 | *dst = NULL; | 774 | *dst = NULL; |
775 | return err; | 775 | return err; |
776 | } | 776 | } |
777 | inline int ip6_ufo_append_data(struct sock *sk, | 777 | |
778 | static inline int ip6_ufo_append_data(struct sock *sk, | ||
778 | int getfrag(void *from, char *to, int offset, int len, | 779 | int getfrag(void *from, char *to, int offset, int len, |
779 | int odd, struct sk_buff *skb), | 780 | int odd, struct sk_buff *skb), |
780 | void *from, int length, int hh_len, int fragheaderlen, | 781 | void *from, int length, int hh_len, int fragheaderlen, |
diff --git a/net/ipv6/ipv6_sockglue.c b/net/ipv6/ipv6_sockglue.c index 25757ade989f..3620718defe6 100644 --- a/net/ipv6/ipv6_sockglue.c +++ b/net/ipv6/ipv6_sockglue.c | |||
@@ -628,8 +628,8 @@ e_inval: | |||
628 | return -EINVAL; | 628 | return -EINVAL; |
629 | } | 629 | } |
630 | 630 | ||
631 | int ipv6_getsockopt_sticky(struct sock *sk, struct ipv6_opt_hdr *hdr, | 631 | static int ipv6_getsockopt_sticky(struct sock *sk, struct ipv6_opt_hdr *hdr, |
632 | char __user *optval, int len) | 632 | char __user *optval, int len) |
633 | { | 633 | { |
634 | if (!hdr) | 634 | if (!hdr) |
635 | return 0; | 635 | return 0; |