]> git.hungrycats.org Git - linux/commitdiff
[IPV4]: Mark inet_family_ops static
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Sep 2004 06:52:08 +0000 (23:52 -0700)
committerPatrick McHardy <kaber@trash.net>
Tue, 7 Sep 2004 06:52:08 +0000 (23:52 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c
net/sctp/protocol.c

index ed2923791e0e602b66e845f37b1887f981c536fc..c859b31fd0f1f128a5af41707c73d0b19eca7ef8 100644 (file)
@@ -837,7 +837,7 @@ struct proto_ops inet_dgram_ops = {
        .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_accept);
 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);
index bae07708eb01a134da405f890bdbe09c603ec8ac..97f66fd770f4b35e1f058edd50e85f992ef2e2a5 100644 (file)
@@ -81,8 +81,6 @@ static struct sctp_af *sctp_af_v6_specific;
 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);