Skip to contentSkip to conversation

drivers/net/tun.c: make 2 functions static

PATCH New Adrian Bunk 1 participant 1 message Feb 19, 2005

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

PATCH 1/1 drivers/net/tun.c: make 2 functions static

This patch makes two needlessly global functions static.

---

 drivers/net/tun.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/tun.c renamed from drivers/net/tun.c.old +2 -2
@@ -843,7 +843,7 @@
 	.set_rx_csum	= tun_set_rx_csum
 };
 
-int __init tun_init(void)
+static int __init tun_init(void)
 {
 	int ret = 0;
 
@@ -856,7 +856,7 @@
 	return ret;
 }
 
-void tun_cleanup(void)
+static void tun_cleanup(void)
 {
 	struct tun_struct *tun, *nxt;