inet: inet_connection_sock_af_ops const
The function block inet_connect_sock_af_ops contains no data make it constant. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b2e4b3debc
commit
3b401a81c0
5 changed files with 11 additions and 11 deletions
|
@ -51,7 +51,7 @@ extern int datagram_send_ctl(struct net *net,
|
|||
/*
|
||||
* address family specific functions
|
||||
*/
|
||||
extern struct inet_connection_sock_af_ops ipv4_specific;
|
||||
extern const struct inet_connection_sock_af_ops ipv4_specific;
|
||||
|
||||
extern void inet6_destroy_sock(struct sock *sk);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue