Skip to content

Commit

Permalink
console: uart_console: Use static for static functions
Browse files Browse the repository at this point in the history
Use static keyword for static functions.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
  • Loading branch information
finikorg authored and nashif committed Mar 11, 2020
1 parent 2b466a5 commit caa95fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/console/uart_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ static bool handle_mcumgr(struct console_input *cmd, uint8_t byte)

#endif /* CONFIG_UART_CONSOLE_MCUMGR */

void uart_console_isr(struct device *unused)
static void uart_console_isr(struct device *unused)
{
ARG_UNUSED(unused);

Expand Down Expand Up @@ -579,7 +579,7 @@ void uart_register_input(struct k_fifo *avail, struct k_fifo *lines,
* @return N/A
*/

void uart_console_hook_install(void)
static void uart_console_hook_install(void)
{
__stdout_hook_install(console_out);
__printk_hook_install(console_out);
Expand Down

0 comments on commit caa95fc

Please sign in to comment.