Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ac267728f13c55017ed5ee243c9c3166e27ab929
Commit:     ac267728f13c55017ed5ee243c9c3166e27ab929
Parent:     411f0f3edc141a582190d3605cadd1d993abb6df
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Sun May 6 14:49:12 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon May 7 12:12:52 2007 -0700

    mm/slab.c: proper prototypes
    
    Add proper prototypes in include/linux/slab.h.
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 fs/proc/proc_misc.c  |    2 --
 include/linux/slab.h |    3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c
index e2c4c0a..75ec652 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 
= {
 #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);
diff --git a/include/linux/slab.h b/include/linux/slab.h
index 2f8f60f..f9ed934 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -219,6 +219,9 @@ extern void *__kmalloc_node_track_caller(size_t, gfp_t, 
int, void *);
 
 #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 */
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to