]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[IPV6]: make two functions static
authorAdrian Bunk <bunk@stusta.de>
Wed, 30 Nov 2005 00:28:56 +0000 (16:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2005 00:28:56 +0000 (16:28 -0800)
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>
net/ipv6/ip6_output.c
net/ipv6/ipv6_sockglue.c

index c1fa693511a176c71f601cb3d78696ba83e25437..8523c76ebf768b9f2096a00fce912c14065c7562 100644 (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,
index 25757ade989f50d23bf2e7d948d1286918678070..3620718defe61947040716fe3138478c3b49397c 100644 (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;