summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-05-21 21:13:05 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-05-21 21:13:05 -0700
commitec3a47e78a7ecfe1172bac081c2e27cec34967da (patch)
tree6094990aada2b4acfcf50b5f78d16b1c41c034ba /include
parentc6e6354f8e7cb66bdbb6e33a444beb959e3a70e8 (diff)
[PATCH] new helpers for /proc
new helpers for seq_file - for cases where we don't have a non-trivial iterator and just want to use seq_{printf,putc,...}.
Diffstat (limited to 'include')
-rw-r--r--include/linux/seq_file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/seq_file.h b/include/linux/seq_file.h
index a1b29efb0666..ab12d2608f53 100644
--- a/include/linux/seq_file.h
+++ b/include/linux/seq_file.h
@@ -58,5 +58,7 @@ static inline int seq_puts(struct seq_file *m, const char *s)
int seq_printf(struct seq_file *, const char *, ...)
__attribute__ ((format (printf,2,3)));
+int single_open(struct file *, int (*)(struct seq_file *, void *), void *);
+int single_release(struct inode *, struct file *);
#endif
#endif