summaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorBrian Haley <brian.haley@hp.com>2008-06-14 17:04:49 -0700
committerDavid S. Miller <davem@davemloft.net>2008-06-14 17:04:49 -0700
commit7d06b2e053d2d536348e3a0f6bb02982a41bea37 (patch)
treeec6a5c3f448e84cd431a0397b9e2a87ca25aec17 /include/net/tcp.h
parent4ae127d1b6c71f9240dd4245f240e6dd8fc98014 (diff)
downloadlinux-7d06b2e053d2d536348e3a0f6bb02982a41bea37.tar.bz2
net: change proto destroy method to return void
Change struct proto destroy function pointer to return void. Noticed by Al Viro. Signed-off-by: Brian Haley <brian.haley@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index b5a1b9eb12e8..6b827cc6c52f 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1366,7 +1366,7 @@ extern void tcp_proc_unregister(struct net *net, struct tcp_seq_afinfo *afinfo);
extern struct request_sock_ops tcp_request_sock_ops;
extern struct request_sock_ops tcp6_request_sock_ops;
-extern int tcp_v4_destroy_sock(struct sock *sk);
+extern void tcp_v4_destroy_sock(struct sock *sk);
extern int tcp_v4_gso_send_check(struct sk_buff *skb);
extern struct sk_buff *tcp_tso_segment(struct sk_buff *skb, int features);