net: sock_diag_handler structs can be const
[deliverable/linux.git] / include / linux / sock_diag.h
index 251729a47880d2ec43216fc1e0b9811817a5dee8..db4bae78bda94d99af2ab614f70ba87b41949632 100644 (file)
@@ -32,8 +32,8 @@ struct sock_diag_handler {
        int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh);
 };
 
-int sock_diag_register(struct sock_diag_handler *h);
-void sock_diag_unregister(struct sock_diag_handler *h);
+int sock_diag_register(const struct sock_diag_handler *h);
+void sock_diag_unregister(const struct sock_diag_handler *h);
 
 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
This page took 0.02645 seconds and 5 git commands to generate.