aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-05-06 17:49:12 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 15:12:52 -0400
commitac267728f13c55017ed5ee243c9c3166e27ab929 (patch)
treed57e57c8bac716ccee49185b04c374ef1e163260 /fs
parent411f0f3edc141a582190d3605cadd1d993abb6df (diff)
mm/slab.c: proper prototypes
Add proper prototypes in include/linux/slab.h. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/proc_misc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c
index e2c4c0a5c90d..75ec6523d29a 100644
--- a/fs/proc/proc_misc.c
+++ b/fs/proc/proc_misc.c
@@ -398,8 +398,6 @@ static const struct file_operations proc_modules_operations = {
398#endif 398#endif
399 399
400#ifdef CONFIG_SLAB 400#ifdef CONFIG_SLAB
401extern struct seq_operations slabinfo_op;
402extern ssize_t slabinfo_write(struct file *, const char __user *, size_t, loff_t *);
403static int slabinfo_open(struct inode *inode, struct file *file) 401static int slabinfo_open(struct inode *inode, struct file *file)
404{ 402{
405 return seq_open(file, &slabinfo_op); 403 return seq_open(file, &slabinfo_op);