diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-15 14:20:14 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-16 08:58:49 -0500 |
commit | 0626dba48a5190abe2ec90db5febde46c951b3af (patch) | |
tree | 7785bb6280bbbf77a183429a65a3d04149d1eb99 /c/src/lib/libcpu/sh/sh7045/sci/sci_termios.c | |
parent | arm/rtl22xx/startup/bspstart.c: Ensure bsp_start_default() is static (diff) | |
download | rtems-0626dba48a5190abe2ec90db5febde46c951b3af.tar.bz2 |
SH libcpu and libbsp: Fix warnings
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7045/sci/sci_termios.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/c/src/lib/libcpu/sh/sh7045/sci/sci_termios.c b/c/src/lib/libcpu/sh/sh7045/sci/sci_termios.c index f2a32c91ae..db9040e409 100644 --- a/c/src/lib/libcpu/sh/sh7045/sci/sci_termios.c +++ b/c/src/lib/libcpu/sh/sh7045/sci/sci_termios.c @@ -1,6 +1,8 @@ /* * Termios console serial driver. - * + */ + +/* * Based on SCI driver by Ralf Corsepius and John M. Mills * * Author: Radzislaw Galler <rgaller@et.put.poznan.pl> @@ -124,7 +126,7 @@ int sh_sci_set_attributes( * * The same routine for all interrupt sources of the same type. */ -rtems_isr sh_sci_rx_isr(rtems_vector_number vector) +static rtems_isr sh_sci_rx_isr(rtems_vector_number vector) { int minor; @@ -151,7 +153,7 @@ rtems_isr sh_sci_rx_isr(rtems_vector_number vector) * * The same routine for all interrupt sources of the same type. */ -rtems_isr sh_sci_tx_isr(rtems_vector_number vector) +static rtems_isr sh_sci_tx_isr(rtems_vector_number vector) { int minor; |