projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df5262
)
sparc64: fix sparse warning in btext.c
author
Sam Ravnborg
<sam@ravnborg.org>
Fri, 16 May 2014 21:25:55 +0000
(23:25 +0200)
committer
David S. Miller
<davem@davemloft.net>
Mon, 19 May 2014 02:01:30 +0000
(19:01 -0700)
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>
arch/sparc/kernel/btext.c
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/btext.c
b/arch/sparc/kernel/btext.c
index 57073e56ba9e4ac43c7ebee2bfae3b7fe2a9f1dc..987f7ec497ccf6c3ab5cc5e8e64fc71d65c843db 100644
(file)
--- 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