Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f33734619371ae40f34bbce001938408e6634f05
Commit:     f33734619371ae40f34bbce001938408e6634f05
Parent:     2cd4d0ea19713304963dbb2de5073700bfe253f5
Author:     Josh Triplett <[EMAIL PROTECTED]>
AuthorDate: Thu Jul 26 13:40:43 2007 +0200
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Thu Jul 26 13:40:43 2007 +0200

    [PATCH] sched: mark sysrq_sched_debug_show() static
    
    Only sched.c uses sysrq_sched_debug_show, and sched.c includes 
sched_debug.c,
    so all uses of sysrq_sched_debug_show occur in the same source file.
    
    Eliminates a sparse warning:
    warning: symbol 'sysrq_sched_debug_show' was not declared. Should it be 
static?
    
    Signed-off-by: Josh Triplett <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
---
 kernel/sched_debug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c
index 29f2c21..42970f7 100644
--- a/kernel/sched_debug.c
+++ b/kernel/sched_debug.c
@@ -186,7 +186,7 @@ static int sched_debug_show(struct seq_file *m, void *v)
        return 0;
 }
 
-void sysrq_sched_debug_show(void)
+static void sysrq_sched_debug_show(void)
 {
        sched_debug_show(NULL, NULL);
 }
-
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