summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/erc32/console/debugputs.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-17 08:52:07 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-19 17:00:57 -0500
commit4c75e728443fb722592cf92aa54987aa46a937ae (patch)
treee84d894af562f87dd22538ecd9def0aeaf9d4310 /c/src/lib/libbsp/sparc/erc32/console/debugputs.c
parentsparc/shared: Fix warnings (diff)
downloadrtems-4c75e728443fb722592cf92aa54987aa46a937ae.tar.bz2
sparc/erc32: Fix warnings
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/sparc/erc32/console/debugputs.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/console/debugputs.c b/c/src/lib/libbsp/sparc/erc32/console/debugputs.c
index 59fc68bcf7..57c00048a5 100644
--- a/c/src/lib/libbsp/sparc/erc32/console/debugputs.c
+++ b/c/src/lib/libbsp/sparc/erc32/console/debugputs.c
@@ -1,8 +1,4 @@
/*
- * This file contains the TTY driver for the serial ports on the erc32.
- *
- * This driver uses the termios pseudo driver.
- *
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
@@ -20,7 +16,6 @@
*
* This routine transmits a character using polling.
*/
-
void console_outbyte_polled(
int port,
unsigned char ch
@@ -41,7 +36,6 @@ void console_outbyte_polled(
*
* This routine polls for a character.
*/
-
int console_inbyte_nonblocking( int port )
{
int UStat;
@@ -83,7 +77,7 @@ int console_inbyte_nonblocking( int port )
#include <rtems/bspIo.h>
-void BSP_output_char_f(char c) { console_outbyte_polled( 0, c ); }
+static void BSP_output_char_f(char c) { console_outbyte_polled( 0, c ); }
BSP_output_char_function_type BSP_output_char = BSP_output_char_f;
BSP_polling_getchar_function_type BSP_poll_char = NULL;