[PATCH 04/15] gensh1/include/bsp.h: Add needed prototype

Joel Sherrill joel.sherrill at oarcorp.com
Mon Mar 9 17:38:44 UTC 2015


---
 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
-- 
1.9.3




More information about the devel mailing list