netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] net/ipv4/: make two functions static
@ 2005-11-23  0:38 Adrian Bunk
  2005-11-30  0:27 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-11-23  0:38 UTC (permalink / raw)
  To: netdev; +Cc: linux-kernel

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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] net/ipv4/: make two functions static
  2005-11-23  0:38 [2.6 patch] net/ipv4/: make two functions static Adrian Bunk
@ 2005-11-30  0:27 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2005-11-30  0:27 UTC (permalink / raw)
  To: bunk; +Cc: netdev, linux-kernel

From: Adrian Bunk <bunk@stusta.de>
Date: Wed, 23 Nov 2005 01:38:06 +0100

> This patch makes two needlessly global functions static.
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

Applied, thanks Adrian.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-30  0:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-23  0:38 [2.6 patch] net/ipv4/: make two functions static Adrian Bunk
2005-11-30  0:27 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).