LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] mm/slab.c: proper prototypes
@ 2007-02-25 23:18 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-02-25 23:18 UTC (permalink / raw)
  To: linux-kernel

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);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-25 23:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-25 23:18 [2.6 patch] mm/slab.c: proper prototypes Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).