]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] sched: mark sysrq_sched_debug_show() static
authorJosh Triplett <josh@kernel.org>
Thu, 26 Jul 2007 11:40:43 +0000 (13:40 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Jul 2007 11:40:43 +0000 (13:40 +0200)
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 <josh@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_debug.c

index 29f2c21e7da231eec8418575e634815b39330f83..42970f723a97153efd384d61b6512677c5cf2a56 100644 (file)
@@ -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);
 }