platform: kendryte/k210: Declare local function static
authorDamien Le Moal <damien.lemoal@wdc.com>
Thu, 3 Jan 2019 04:34:32 +0000 (13:34 +0900)
committerDamien 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

index 35119db..fd0b31a 100644 (file)
 
 #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);
 }