From 4079df63a7a081c649a350eafd92af51d99df448 Mon Sep 17 00:00:00 2001 From: Damien Le Moal Date: Thu, 3 Jan 2019 13:34:32 +0900 Subject: [PATCH] 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 --- platform/kendryte/k210/platform.c | 4 ++-- 1 file 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); }