[2.6 patch] drivers/net/pppoe.c: make a struct static

From: Adrian Bunk
Date: Fri Feb 18 2005 - 18:59:56 EST


This patch makes a needlessly global struct static.

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

--- linux-2.6.11-rc3-mm2-full/drivers/net/pppoe.c.old 2005-02-16 18:07:09.000000000 +0100
+++ linux-2.6.11-rc3-mm2-full/drivers/net/pppoe.c 2005-02-16 18:07:23.000000000 +0100
@@ -1059,7 +1059,7 @@
read_unlock_bh(&pppoe_hash_lock);
}

-struct seq_operations pppoe_seq_ops = {
+static struct seq_operations pppoe_seq_ops = {
.start = pppoe_seq_start,
.next = pppoe_seq_next,
.stop = pppoe_seq_stop,

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