diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-12-08 20:18:57 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:52:40 -0500 |
commit | 8c9379e972e984d11c2b99121847ba9fa7a0c56c (patch) | |
tree | aa348006b91148b67d224d5e5fb29f3bc1644776 /include/linux/seq_file.h | |
parent | 79e801a906db46cb8efad66c400b01df874b3f12 (diff) |
constify seq_file stuff
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/seq_file.h')
-rw-r--r-- | include/linux/seq_file.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/seq_file.h b/include/linux/seq_file.h index 0b69a4684216..44f1514b00ba 100644 --- a/include/linux/seq_file.h +++ b/include/linux/seq_file.h | |||
@@ -74,7 +74,7 @@ static inline void seq_commit(struct seq_file *m, int num) | |||
74 | } | 74 | } |
75 | } | 75 | } |
76 | 76 | ||
77 | char *mangle_path(char *s, char *p, char *esc); | 77 | char *mangle_path(char *s, const char *p, const char *esc); |
78 | int seq_open(struct file *, const struct seq_operations *); | 78 | int seq_open(struct file *, const struct seq_operations *); |
79 | ssize_t seq_read(struct file *, char __user *, size_t, loff_t *); | 79 | ssize_t seq_read(struct file *, char __user *, size_t, loff_t *); |
80 | loff_t seq_lseek(struct file *, loff_t, int); | 80 | loff_t seq_lseek(struct file *, loff_t, int); |
@@ -86,10 +86,10 @@ int seq_write(struct seq_file *seq, const void *data, size_t len); | |||
86 | 86 | ||
87 | __printf(2, 3) int seq_printf(struct seq_file *, const char *, ...); | 87 | __printf(2, 3) int seq_printf(struct seq_file *, const char *, ...); |
88 | 88 | ||
89 | int seq_path(struct seq_file *, struct path *, char *); | 89 | int seq_path(struct seq_file *, const struct path *, const char *); |
90 | int seq_dentry(struct seq_file *, struct dentry *, char *); | 90 | int seq_dentry(struct seq_file *, struct dentry *, const char *); |
91 | int seq_path_root(struct seq_file *m, struct path *path, struct path *root, | 91 | int seq_path_root(struct seq_file *m, const struct path *path, |
92 | char *esc); | 92 | const struct path *root, const char *esc); |
93 | int seq_bitmap(struct seq_file *m, const unsigned long *bits, | 93 | int seq_bitmap(struct seq_file *m, const unsigned long *bits, |
94 | unsigned int nr_bits); | 94 | unsigned int nr_bits); |
95 | static inline int seq_cpumask(struct seq_file *m, const struct cpumask *mask) | 95 | static inline int seq_cpumask(struct seq_file *m, const struct cpumask *mask) |