projects
/
platform
/
kernel
/
opensbi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da86853
)
platform: kendryte/k210: Declare local function static
author
Damien Le Moal
<damien.lemoal@wdc.com>
Thu, 3 Jan 2019 04:34:32 +0000
(13:34 +0900)
committer
Damien Le Moal
<damien.lemoal@wdc.com>
Thu, 3 Jan 2019 04:34:32 +0000
(13:34 +0900)
k210_console_putc() and k210_console_init() are local functions. Declare
them as static.
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
platform/kendryte/k210/platform.c
patch
|
blob
|
history
diff --git
a/platform/kendryte/k210/platform.c
b/platform/kendryte/k210/platform.c
index
35119db
..
fd0b31a
100644
(file)
--- a/
platform/kendryte/k210/platform.c
+++ b/
platform/kendryte/k210/platform.c
@@
-18,14
+18,14
@@
#define K210_UART_BAUDRATE 115200
-int k210_console_init(void)
+
static
int k210_console_init(void)
{
uarths_init(K210_UART_BAUDRATE, UARTHS_STOP_1);
return 0;
}
-void k210_console_putc(char c)
+
static
void k210_console_putc(char c)
{
uarths_putc(c);
}