Commit d81b34dd authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Patrick McHardy

[IPV4]: Mark inet_family_ops static

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aeb2cc38
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment