[rtems commit] bsps/sparc: Fix external variable declarations

Sebastian Huber sebh at rtems.org
Fri Aug 10 05:15:55 UTC 2018


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Aug 10 07:10:20 2018 +0200

bsps/sparc: Fix external variable declarations

---

 bsps/sparc/include/bsp/apbuart_termios.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsps/sparc/include/bsp/apbuart_termios.h b/bsps/sparc/include/bsp/apbuart_termios.h
index 58338dd..6554195 100644
--- a/bsps/sparc/include/bsp/apbuart_termios.h
+++ b/bsps/sparc/include/bsp/apbuart_termios.h
@@ -30,9 +30,9 @@ struct apbuart_context {
   char *buf;
 };
 
-const rtems_termios_device_handler apbuart_handler_interrupt;
+extern const rtems_termios_device_handler apbuart_handler_interrupt;
 
-const rtems_termios_device_handler apbuart_handler_polled;
+extern const rtems_termios_device_handler apbuart_handler_polled;
 
 #ifdef __cplusplus
 }



More information about the vc mailing list