aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2007-07-11 02:07:31 -0400
committerDavid S. Miller <davem@davemloft.net>2007-07-11 02:07:31 -0400
commit56b3d975bbce65f655c5612b4822da671f9fd9b2 (patch)
tree7e29d70405d9c8e28ddee3b03a07157477fc780f /net/unix
parent3be550f34b03e5eb762f74d447ebbeba97efbd6d (diff)
[NET]: Make all initialized struct seq_operations const.
Make all initialized struct seq_operations in net/ const Signed-off-by: Philippe De Muyter <phdm@macqel.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
-rw-r--r--net/unix/af_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index d70fa30d4294..3654b647ac79 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -2048,7 +2048,7 @@ static int unix_seq_show(struct seq_file *seq, void *v)
2048 return 0; 2048 return 0;
2049} 2049}
2050 2050
2051static struct seq_operations unix_seq_ops = { 2051static const struct seq_operations unix_seq_ops = {
2052 .start = unix_seq_start, 2052 .start = unix_seq_start,
2053 .next = unix_seq_next, 2053 .next = unix_seq_next,
2054 .stop = unix_seq_stop, 2054 .stop = unix_seq_stop,