[PATCH 21/42] csb350/console/console-io.c: Fix warnings

Joel Sherrill joel.sherrill at oarcorp.com
Fri Oct 17 15:23:37 UTC 2014


---
 c/src/lib/libbsp/mips/csb350/console/console-io.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/c/src/lib/libbsp/mips/csb350/console/console-io.c b/c/src/lib/libbsp/mips/csb350/console/console-io.c
index aa991ad..18c8be0 100644
--- a/c/src/lib/libbsp/mips/csb350/console/console-io.c
+++ b/c/src/lib/libbsp/mips/csb350/console/console-io.c
@@ -23,7 +23,6 @@
  *  This routine initializes the console hardware.
  *
  */
-
 void console_initialize_hardware(void)
 {
     uart0->fifoctrl = 0xf1;   /* enable fifo, max sizes */
@@ -36,7 +35,6 @@ void console_initialize_hardware(void)
  *
  *  This routine transmits a character using polling.
  */
-
 void console_outbyte_polled(
   int  port,
   char ch
@@ -50,7 +48,6 @@ void console_outbyte_polled(
     uart0->txdata = ch;
     au_sync();
 }
-
 /*
  *  console_inbyte_nonblocking
  *
@@ -73,7 +70,7 @@ int console_inbyte_nonblocking(
 
 #include <rtems/bspIo.h>
 
-void csb250_output_char(char c)
+static void csb250_output_char(char c)
 {
     console_outbyte_polled( 0, c );
     if (c == '\n') {
-- 
1.9.3




More information about the devel mailing list