Skip to content

Commit f1eabec

Browse files
sravnborgdavem330
authored andcommitted
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 <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8df5262 commit f1eabec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/sparc/kernel/btext.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static void scrollscreen(void)
137137
}
138138
#endif /* ndef NO_SCROLL */
139139

140-
void btext_drawchar(char c)
140+
static void btext_drawchar(char c)
141141
{
142142
int cline = 0;
143143
#ifdef NO_SCROLL

0 commit comments

Comments
 (0)