[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>

authored by Adrian Bunk and committed by David S. Miller 34a0b3cd d127e94a

+4 -3
+2 -1
net/ipv6/ip6_output.c
··· 774 *dst = NULL; 775 return err; 776 } 777 - inline int ip6_ufo_append_data(struct sock *sk, 778 int getfrag(void *from, char *to, int offset, int len, 779 int odd, struct sk_buff *skb), 780 void *from, int length, int hh_len, int fragheaderlen,
··· 774 *dst = NULL; 775 return err; 776 } 777 + 778 + static inline int ip6_ufo_append_data(struct sock *sk, 779 int getfrag(void *from, char *to, int offset, int len, 780 int odd, struct sk_buff *skb), 781 void *from, int length, int hh_len, int fragheaderlen,
+2 -2
net/ipv6/ipv6_sockglue.c
··· 628 return -EINVAL; 629 } 630 631 - int ipv6_getsockopt_sticky(struct sock *sk, struct ipv6_opt_hdr *hdr, 632 - char __user *optval, int len) 633 { 634 if (!hdr) 635 return 0;
··· 628 return -EINVAL; 629 } 630 631 + static int ipv6_getsockopt_sticky(struct sock *sk, struct ipv6_opt_hdr *hdr, 632 + char __user *optval, int len) 633 { 634 if (!hdr) 635 return 0;