[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>
This commit is contained in:
Adrian Bunk 2005-11-29 16:28:56 -08:00 committed by David S. Miller
parent d127e94a5c
commit 34a0b3cdc0
2 changed files with 4 additions and 3 deletions

View file

@ -774,7 +774,8 @@ out_err_release:
*dst = NULL;
return err;
}
inline int ip6_ufo_append_data(struct sock *sk,
static inline int ip6_ufo_append_data(struct sock *sk,
int getfrag(void *from, char *to, int offset, int len,
int odd, struct sk_buff *skb),
void *from, int length, int hh_len, int fragheaderlen,

View file

@ -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;