[rtems commit] htif_console_handler is defined in htif.c

Joel Sherrill joel at rtems.org
Sun Sep 6 21:11:58 UTC 2020


Module:    rtems
Branch:    master
Commit:    764ea5787926ee50d2c1df8db2eede5d31e427eb
Changeset: http://git.rtems.org/rtems/commit/?id=764ea5787926ee50d2c1df8db2eede5d31e427eb

Author:    Hesham Almatary <Hesham.Almatary at cl.cam.ac.uk>
Date:      Sun Sep  6 16:07:29 2020 -0500

htif_console_handler is defined in htif.c

closes #4069.

---

 bsps/riscv/riscv/include/dev/serial/htif.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsps/riscv/riscv/include/dev/serial/htif.h b/bsps/riscv/riscv/include/dev/serial/htif.h
index b0d83652..4b16d87 100644
--- a/bsps/riscv/riscv/include/dev/serial/htif.h
+++ b/bsps/riscv/riscv/include/dev/serial/htif.h
@@ -45,7 +45,7 @@ void htif_console_putchar(rtems_termios_device_context *base, char c);
 
 int htif_console_getchar(rtems_termios_device_context *base);
 
-const rtems_termios_device_handler htif_console_handler;
+extern const rtems_termios_device_handler htif_console_handler;
 
 #ifdef __cplusplus
 }



More information about the vc mailing list