lkml.org 
[lkml]   [2005]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] net/ipv4/: make two functions static
This patch makes two needlessly global functions static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

net/ipv4/ip_gre.c | 2 +-
net/ipv4/ip_output.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.15-rc1-mm2-full/net/ipv4/ip_output.c.old 2005-11-22 22:51:16.000000000 +0100
+++ linux-2.6.15-rc1-mm2-full/net/ipv4/ip_output.c 2005-11-22 22:51:29.000000000 +0100
@@ -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,
--- linux-2.6.15-rc1-mm2-full/net/ipv4/ip_gre.c.old 2005-11-22 22:59:32.000000000 +0100
+++ linux-2.6.15-rc1-mm2-full/net/ipv4/ip_gre.c 2005-11-22 22:59:45.000000000 +0100
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-23 01:40    [W:0.045 / U:6.152 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site