[2.6 patch] drivers/net/tun.c: make 2 functions static

From: Adrian Bunk
Date: Sat Feb 19 2005 - 03:49:03 EST


This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

drivers/net/tun.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.11-rc3-mm2-full/drivers/net/tun.c.old 2005-02-16 18:55:46.000000000 +0100
+++ linux-2.6.11-rc3-mm2-full/drivers/net/tun.c 2005-02-16 18:55:57.000000000 +0100
@@ -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;


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/