diff options
Diffstat (limited to 'include/linux/sock_diag.h')
-rw-r--r-- | include/linux/sock_diag.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sock_diag.h b/include/linux/sock_diag.h index 251729a47880..db4bae78bda9 100644 --- a/include/linux/sock_diag.h +++ b/include/linux/sock_diag.h | |||
@@ -32,8 +32,8 @@ struct sock_diag_handler { | |||
32 | int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh); | 32 | int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh); |
33 | }; | 33 | }; |
34 | 34 | ||
35 | int sock_diag_register(struct sock_diag_handler *h); | 35 | int sock_diag_register(const struct sock_diag_handler *h); |
36 | void sock_diag_unregister(struct sock_diag_handler *h); | 36 | void sock_diag_unregister(const struct sock_diag_handler *h); |
37 | 37 | ||
38 | void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)); | 38 | void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)); |
39 | void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)); | 39 | void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)); |