]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv4/gre.c
gre: protocol table can be static
[net-next-2.6.git] / net / ipv4 / gre.c
index b546736da2e19754f6f92932abd3043f409b04ec..caea6885fdbd0810ea3e8d9eeefd5f74282a0930 100644 (file)
@@ -22,7 +22,7 @@
 #include <net/gre.h>
 
 
-const struct gre_protocol *gre_proto[GREPROTO_MAX] __read_mostly;
+static const struct gre_protocol *gre_proto[GREPROTO_MAX] __read_mostly;
 static DEFINE_SPINLOCK(gre_proto_lock);
 
 int gre_add_protocol(const struct gre_protocol *proto, u8 version)