Skip to contentSkip to conversation

drivers/net/pppoe.c: make a struct static

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/net/pppoe.c: make a struct static

This patch makes a needlessly global struct static.

drivers/net/pppoe.c renamed from drivers/net/pppoe.c.old +1 -1
@@ -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,