From: Josh Triplett Date: Thu, 26 Jul 2007 11:40:43 +0000 (+0200) Subject: [PATCH] sched: mark sysrq_sched_debug_show() static X-Git-Tag: v2.6.23-rc2~191^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f33734619371ae40f34bbce001938408e6634f05;p=linux-2.6 [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 Signed-off-by: Andrew Morton Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c index 29f2c21e7d..42970f723a 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); }