console: Make stdio_print_current_devices() static
authorBin Meng <bmeng@tinylab.org>
Sun, 23 Jul 2023 04:40:35 +0000 (12:40 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 2 Aug 2023 08:32:02 +0000 (16:32 +0800)
As it is only called in common/console.c

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org> # qemu-x86_64
common/console.c
include/stdio_dev.h

index 71ad8ef..d0640ba 100644 (file)
@@ -1010,7 +1010,7 @@ int console_init_f(void)
        return 0;
 }
 
-void stdio_print_current_devices(void)
+static void stdio_print_current_devices(void)
 {
        /* Print information */
        puts("In:    ");
index 77bf8a8..7f18102 100644 (file)
@@ -84,8 +84,6 @@ int stdio_init_tables(void);
  */
 int stdio_add_devices(void);
 
-void stdio_print_current_devices(void);
-
 /**
  * stdio_deregister_dev() - deregister the device "devname".
  *