From: Sam Ravnborg Date: Fri, 16 May 2014 21:25:55 +0000 (+0200) Subject: sparc64: fix sparse warning in btext.c X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f1eabec577c447ad41f8da165c89435416e4346d;p=openwrt%2Fstaging%2Fblogic.git sparc64: fix sparse warning in btext.c Fix following warning: btext.c:140:6: warning: symbol 'btext_drawchar' was not declared. Should it be static? Define the function static as it is only used in this file. Signed-off-by: Sam Ravnborg Signed-off-by: David S. Miller --- diff --git a/arch/sparc/kernel/btext.c b/arch/sparc/kernel/btext.c index 57073e56ba9e..987f7ec497cc 100644 --- a/arch/sparc/kernel/btext.c +++ b/arch/sparc/kernel/btext.c @@ -137,7 +137,7 @@ static void scrollscreen(void) } #endif /* ndef NO_SCROLL */ -void btext_drawchar(char c) +static void btext_drawchar(char c) { int cline = 0; #ifdef NO_SCROLL