Skip to contentSkip to conversation

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

PATCH New Adrian Bunk 1 participant 1 message Feb 17, 2005 Network drivers

lore
Share & tools
lore
#0 lore raw

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

This patch makes two needlessly global functions static.

---

 drivers/net/ethertap.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethertap.c renamed from drivers/net/ethertap.c.old +2 -2
@@ -343,7 +343,7 @@
 }
 
 
-int __init ethertap_init(void)
+static int __init ethertap_init(void)
 {
 	int i, err = 0;
 
@@ -371,7 +371,7 @@
 }
 module_init(ethertap_init);
 
-void __exit ethertap_cleanup(void)
+static void __exit ethertap_cleanup(void)
 {
 	int i;