summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2004-09-06 23:52:08 -0700
committerPatrick McHardy <kaber@trash.net>2004-09-06 23:52:08 -0700
commitd81b34dd264c876be4b8fc86bc9754e2b566a6a9 (patch)
tree467e10895c5cf0ac408b66c5deac61f687dea0df
parentaeb2cc38c4d50ca1fc4a8815c7eba8bb8eb14059 (diff)
[IPV4]: Mark inet_family_ops static
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/af_inet.c3
-rw-r--r--net/sctp/protocol.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index ed2923791e0e..c859b31fd0f1 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -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);
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index bae07708eb01..97f66fd770f4 100644
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -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);