summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2019-01-03 13:34:32 +0900
committerDamien Le Moal <[email protected]>2019-01-03 13:34:32 +0900
commit4079df63a7a081c649a350eafd92af51d99df448 (patch)
tree5caccbb4fd3cb36e59db777edb541dfc599c8bd5
parentda86853a51e3cdddc12cff8c29116c2e87da525c (diff)
platform: kendryte/k210: Declare local function static
k210_console_putc() and k210_console_init() are local functions. Declare them as static. Signed-off-by: Damien Le Moal <[email protected]>
-rw-r--r--platform/kendryte/k210/platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/kendryte/k210/platform.c b/platform/kendryte/k210/platform.c
index 35119dbc..fd0b31ad 100644
--- 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);
}