public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/net/loopback.c: make a function static
@ 2005-02-17 20:53 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-02-17 20:53 UTC (permalink / raw)
  To: jgarzik; +Cc: linux-net, linux-kernel

This patch makes a needlessly global function static.

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

--

--- linux-2.6.11-rc3-mm2-full/drivers/net/loopback.c.old	2005-02-16 16:08:04.000000000 +0100
+++ linux-2.6.11-rc3-mm2-full/drivers/net/loopback.c	2005-02-16 16:08:14.000000000 +0100
@@ -184,7 +184,7 @@
 	return stats;
 }
 
-u32 loopback_get_link(struct net_device *dev)
+static u32 loopback_get_link(struct net_device *dev)
 {
 	return 1;
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-17 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-17 20:53 [2.6 patch] drivers/net/loopback.c: make a function static Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox