Skip to content

Commit

Permalink
sparc64: fix sparse warning in btext.c
Browse files Browse the repository at this point in the history
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 <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
sravnborg authored and davem330 committed May 19, 2014
1 parent 8df5262 commit f1eabec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc/kernel/btext.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f1eabec

Please sign in to comment.