Skip to contentSkip to conversation

net/ipv4/: make two functions static

PATCH Applied Adrian Bunk 2 participants 2 messages Nov 23, 2005 – Nov 30, 2005

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/ipv4/: make two functions static

This patch makes two needlessly global functions static.

---

 net/ipv4/ip_gre.c    |    2 +-
 net/ipv4/ip_output.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
net/ipv4/ip_output.c renamed from net/ipv4/ip_output.c.old +1 -1
@@ -690,7 +690,7 @@
 	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,
net/ipv4/ip_gre.c renamed from net/ipv4/ip_gre.c.old +1 -1
@@ -1217,7 +1217,7 @@
 	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;