Messages in this thread Patch in this message | | | Date | Mon, 26 Feb 2007 00:18:54 +0100 | From | Adrian Bunk <> | Subject | [2.6 patch] mm/slab.c: proper prototypes |
| |
This patch adds proper prototypes in include/linux/slab.h.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
fs/proc/proc_misc.c | 2 -- include/linux/slab.h | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-)
--- linux-2.6.20-mm2/include/linux/slab.h.old 2007-02-25 19:48:30.000000000 +0100 +++ linux-2.6.20-mm2/include/linux/slab.h 2007-02-25 19:52:47.000000000 +0100 @@ -218,6 +218,9 @@ #endif /* DEBUG_SLAB */ +extern const struct seq_operations slabinfo_op; +ssize_t slabinfo_write(struct file *, const char __user *, size_t, loff_t *); + #endif /* __KERNEL__ */ #endif /* _LINUX_SLAB_H */ --- linux-2.6.20-mm2/fs/proc/proc_misc.c.old 2007-02-25 19:51:44.000000000 +0100 +++ linux-2.6.20-mm2/fs/proc/proc_misc.c 2007-02-25 19:52:17.000000000 +0100 @@ -400,8 +400,6 @@ #endif #ifdef CONFIG_SLAB -extern struct seq_operations slabinfo_op; -extern ssize_t slabinfo_write(struct file *, const char __user *, size_t, loff_t *); static int slabinfo_open(struct inode *inode, struct file *file) { return seq_open(file, &slabinfo_op); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |