diff options
| author | Damien Le Moal <[email protected]> | 2019-01-03 13:34:32 +0900 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2019-01-03 13:34:32 +0900 |
| commit | 4079df63a7a081c649a350eafd92af51d99df448 (patch) | |
| tree | 5caccbb4fd3cb36e59db777edb541dfc599c8bd5 | |
| parent | da86853a51e3cdddc12cff8c29116c2e87da525c (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.c | 4 |
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); } |
