aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-02-29 14:13:15 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-29 14:13:15 -0500
commit9b0f976f27f00a81cf47643d90854659626795b4 (patch)
tree3226ff8a03faf6c8137eeb1313248dfd2a395f21 /include
parent4c563f7669c10a12354b72b518c2287ffc6ebfb3 (diff)
[INET]: Remove struct net_proto_family* from _init calls.
struct net_proto_family* is not used in icmp[v6]_init, ndisc_init, igmp_init and tcp_v4_init. Remove it. Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/icmpv6.h2
-rw-r--r--include/net/icmp.h2
-rw-r--r--include/net/ndisc.h4
-rw-r--r--include/net/tcp.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/icmpv6.h b/include/linux/icmpv6.h
index 7c5e9817e998..8f86d6b621c8 100644
--- a/include/linux/icmpv6.h
+++ b/include/linux/icmpv6.h
@@ -176,7 +176,7 @@ extern void icmpv6_send(struct sk_buff *skb,
176 __u32 info, 176 __u32 info,
177 struct net_device *dev); 177 struct net_device *dev);
178 178
179extern int icmpv6_init(struct net_proto_family *ops); 179extern int icmpv6_init(void);
180extern int icmpv6_err_convert(int type, int code, 180extern int icmpv6_err_convert(int type, int code,
181 int *err); 181 int *err);
182extern void icmpv6_cleanup(void); 182extern void icmpv6_cleanup(void);
diff --git a/include/net/icmp.h b/include/net/icmp.h
index 9f7ef3c8baef..7bf714d9d7c7 100644
--- a/include/net/icmp.h
+++ b/include/net/icmp.h
@@ -48,7 +48,7 @@ struct sk_buff;
48extern void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info); 48extern void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info);
49extern int icmp_rcv(struct sk_buff *skb); 49extern int icmp_rcv(struct sk_buff *skb);
50extern int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg); 50extern int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg);
51extern void icmp_init(struct net_proto_family *ops); 51extern void icmp_init(void);
52extern void icmp_out_count(unsigned char type); 52extern void icmp_out_count(unsigned char type);
53 53
54/* Move into dst.h ? */ 54/* Move into dst.h ? */
diff --git a/include/net/ndisc.h b/include/net/ndisc.h
index 59b70624b056..5aedf324de66 100644
--- a/include/net/ndisc.h
+++ b/include/net/ndisc.h
@@ -77,7 +77,7 @@ struct nd_opt_hdr {
77} __attribute__((__packed__)); 77} __attribute__((__packed__));
78 78
79 79
80extern int ndisc_init(struct net_proto_family *ops); 80extern int ndisc_init(void);
81 81
82extern void ndisc_cleanup(void); 82extern void ndisc_cleanup(void);
83 83
@@ -107,7 +107,7 @@ extern int ndisc_mc_map(struct in6_addr *addr, char *buf, struct net_device *d
107/* 107/*
108 * IGMP 108 * IGMP
109 */ 109 */
110extern int igmp6_init(struct net_proto_family *ops); 110extern int igmp6_init(void);
111 111
112extern void igmp6_cleanup(void); 112extern void igmp6_cleanup(void);
113 113
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 7de4ea3a04d9..ae9774b478f5 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1373,7 +1373,7 @@ struct tcp_request_sock_ops {
1373#endif 1373#endif
1374}; 1374};
1375 1375
1376extern void tcp_v4_init(struct net_proto_family *ops); 1376extern void tcp_v4_init(void);
1377extern void tcp_init(void); 1377extern void tcp_init(void);
1378 1378
1379#endif /* _TCP_H */ 1379#endif /* _TCP_H */