DORMANTno replies

[PATCH] mark inet_family_ops static

From: Christoph Hellwig <hch@lst.de>
Date: 2004-09-07 15:19:18

except for a stale extern in net/sctp/protocol.c it's not referenced
anywhere outside af_inet.c

--- 1.74/net/ipv4/af_inet.c	2004-07-07 07:01:31 +02:00
+++ edited/net/ipv4/af_inet.c	2004-09-07 13:47:22 +02:00
@@ -837,7 +837,7 @@
 	.sendpage =	inet_sendpage,
 };
 
-struct net_proto_family inet_family_ops = {
+static struct net_proto_family inet_family_ops = {
 	.family = PF_INET,
 	.create = inet_create,
 	.owner	= THIS_MODULE,
@@ -1157,7 +1157,6 @@
 EXPORT_SYMBOL(inet_bind);
 EXPORT_SYMBOL(inet_dgram_connect);
 EXPORT_SYMBOL(inet_dgram_ops);
-EXPORT_SYMBOL(inet_family_ops);
 EXPORT_SYMBOL(inet_getname);
 EXPORT_SYMBOL(inet_ioctl);
 EXPORT_SYMBOL(inet_listen);
--- 1.72/net/sctp/protocol.c	2004-08-13 01:41:13 +02:00
+++ edited/net/sctp/protocol.c	2004-09-07 13:47:08 +02:00
@@ -81,8 +81,6 @@
 kmem_cache_t *sctp_chunk_cachep;
 kmem_cache_t *sctp_bucket_cachep;
 
-extern struct net_proto_family inet_family_ops;
-
 extern int sctp_snmp_proc_init(void);
 extern int sctp_snmp_proc_exit(void);
 extern int sctp_eps_proc_init(void);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help