diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-30 01:27:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-30 01:27:20 +0100 |
commit | 4b30b1c6a3e58dc74f2dbb0aa39f16a23cfcdd56 (patch) | |
tree | 5aee91f75b2f7f0ecdcf6d3defb836a40f05e958 /net/ipv4 | |
parent | [NET]: Add const markers to various variables. (diff) | |
download | linux-4b30b1c6a3e58dc74f2dbb0aa39f16a23cfcdd56.tar.xz linux-4b30b1c6a3e58dc74f2dbb0aa39f16a23cfcdd56.zip |
[IPV4]: 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/ipv4')
-rw-r--r-- | net/ipv4/ip_gre.c | 2 | ||||
-rw-r--r-- | net/ipv4/ip_output.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index 4e9c74b54b15..a4c347c3b8e3 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c @@ -1217,7 +1217,7 @@ static int ipgre_tunnel_init(struct net_device *dev) return 0; } -int __init ipgre_fb_tunnel_init(struct net_device *dev) +static int __init ipgre_fb_tunnel_init(struct net_device *dev) { struct ip_tunnel *tunnel = (struct ip_tunnel*)dev->priv; struct iphdr *iph = &tunnel->parms.iph; diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 11c2f68254f0..eba64e2bd397 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c @@ -690,7 +690,7 @@ csum_page(struct page *page, int offset, int copy) return csum; } -inline int ip_ufo_append_data(struct sock *sk, +static inline int ip_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, |