[rtems commit] gensh1/include/bsp.h: Add needed prototype

Joel Sherril joel at rtems.org
Mon Mar 9 21:14:31 UTC 2015


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sun Mar  8 13:50:56 2015 -0500

gensh1/include/bsp.h: Add needed prototype

---

 c/src/lib/libbsp/sh/gensh1/include/bsp.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/c/src/lib/libbsp/sh/gensh1/include/bsp.h b/c/src/lib/libbsp/sh/gensh1/include/bsp.h
index ced4967..0b023eb 100644
--- a/c/src/lib/libbsp/sh/gensh1/include/bsp.h
+++ b/c/src/lib/libbsp/sh/gensh1/include/bsp.h
@@ -28,6 +28,7 @@
 #include <rtems.h>
 #include <rtems/clockdrv.h>
 #include <rtems/console.h>
+#include <termios.h> /* for tcflag_t */
 
 #include <bspopts.h>
 #include <bsp/default-initial-extension.h>
@@ -74,6 +75,12 @@ extern void *CPU_Interrupt_stack_high;
  */
 void bsp_hw_init(void);
 
+extern int _sci_get_brparms(
+  tcflag_t      cflag,
+  unsigned char *smr,
+  unsigned char *brr
+);
+
 #ifdef __cplusplus
 }
 #endif



More information about the vc mailing list