summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHesham Almatary <Hesham.Almatary@cl.cam.ac.uk>2020-09-06 16:07:29 -0500
committerJoel Sherrill <joel@rtems.org>2020-09-06 16:11:45 -0500
commit764ea5787926ee50d2c1df8db2eede5d31e427eb (patch)
tree3711cb288cea5943925db65a882598c4461237c0
parentaedd92d1477df0025821b77c06b2f2b2dc7aaf67 (diff)
downloadrtems-764ea5787926ee50d2c1df8db2eede5d31e427eb.tar.bz2
htif_console_handler is defined in htif.c
closes #4069.
-rw-r--r--bsps/riscv/riscv/include/dev/serial/htif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/riscv/riscv/include/dev/serial/htif.h b/bsps/riscv/riscv/include/dev/serial/htif.h
index b0d83652b7..4b16d87468 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
}