diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/sock.h | 2 | ||||
-rw-r--r-- | include/net/tcp.h | 2 | ||||
-rw-r--r-- | include/net/transp_v6.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index dc42b44c2aa1..0a80961a83c0 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -524,7 +524,7 @@ struct proto { | |||
524 | int (*ioctl)(struct sock *sk, int cmd, | 524 | int (*ioctl)(struct sock *sk, int cmd, |
525 | unsigned long arg); | 525 | unsigned long arg); |
526 | int (*init)(struct sock *sk); | 526 | int (*init)(struct sock *sk); |
527 | int (*destroy)(struct sock *sk); | 527 | void (*destroy)(struct sock *sk); |
528 | void (*shutdown)(struct sock *sk, int how); | 528 | void (*shutdown)(struct sock *sk, int how); |
529 | int (*setsockopt)(struct sock *sk, int level, | 529 | int (*setsockopt)(struct sock *sk, int level, |
530 | int optname, char __user *optval, | 530 | int optname, char __user *optval, |
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); | |||
1366 | extern struct request_sock_ops tcp_request_sock_ops; | 1366 | extern struct request_sock_ops tcp_request_sock_ops; |
1367 | extern struct request_sock_ops tcp6_request_sock_ops; | 1367 | extern struct request_sock_ops tcp6_request_sock_ops; |
1368 | 1368 | ||
1369 | extern int tcp_v4_destroy_sock(struct sock *sk); | 1369 | extern void tcp_v4_destroy_sock(struct sock *sk); |
1370 | 1370 | ||
1371 | extern int tcp_v4_gso_send_check(struct sk_buff *skb); | 1371 | extern int tcp_v4_gso_send_check(struct sk_buff *skb); |
1372 | extern struct sk_buff *tcp_tso_segment(struct sk_buff *skb, int features); | 1372 | extern struct sk_buff *tcp_tso_segment(struct sk_buff *skb, int features); |
diff --git a/include/net/transp_v6.h b/include/net/transp_v6.h index 112934a3288d..876b6f2bb4fd 100644 --- a/include/net/transp_v6.h +++ b/include/net/transp_v6.h | |||
@@ -53,7 +53,7 @@ extern int datagram_send_ctl(struct net *net, | |||
53 | */ | 53 | */ |
54 | extern struct inet_connection_sock_af_ops ipv4_specific; | 54 | extern struct inet_connection_sock_af_ops ipv4_specific; |
55 | 55 | ||
56 | extern int inet6_destroy_sock(struct sock *sk); | 56 | extern void inet6_destroy_sock(struct sock *sk); |
57 | 57 | ||
58 | #endif | 58 | #endif |
59 | 59 | ||