summaryrefslogtreecommitdiffstats
path: root/include/net/transp_v6.h
diff options
context:
space:
mode:
authorStephen Hemminger2009-09-01 21:25:04 +0200
committerDavid S. Miller2009-09-02 10:03:49 +0200
commit3b401a81c0d50ea9c718cf837f62cc2e6e79cc30 (patch)
treecfb386a92521ae614fc8d76932461f26d14e9fa3 /include/net/transp_v6.h
parenttcp: MD5 operations should be const (diff)
downloadkernel-qcow2-linux-3b401a81c0d50ea9c718cf837f62cc2e6e79cc30.tar.gz
kernel-qcow2-linux-3b401a81c0d50ea9c718cf837f62cc2e6e79cc30.tar.xz
kernel-qcow2-linux-3b401a81c0d50ea9c718cf837f62cc2e6e79cc30.zip
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>
Diffstat (limited to 'include/net/transp_v6.h')
-rw-r--r--include/net/transp_v6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/transp_v6.h b/include/net/transp_v6.h
index bfb240c6cf79..d65381cad0fc 100644
--- a/include/net/transp_v6.h
+++ b/include/net/transp_v6.h
@@ -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);