summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/sim68000/console/debugio.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-15 17:31:04 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-19 17:00:55 -0500
commit6e14a99b5819ef278beb19e53aec5518e5d16007 (patch)
tree7130aa92d92534767e0176392524e0a90b345c3a /c/src/lib/libbsp/m68k/sim68000/console/debugio.c
parentm68k/mvme162: Fix warnings (diff)
downloadrtems-6e14a99b5819ef278beb19e53aec5518e5d16007.tar.bz2
m68k/shared and sim68000: Fix warnings
Diffstat (limited to 'c/src/lib/libbsp/m68k/sim68000/console/debugio.c')
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/console/debugio.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/m68k/sim68000/console/debugio.c b/c/src/lib/libbsp/m68k/sim68000/console/debugio.c
index 5f0f493f3d..c9993ceaaf 100644
--- a/c/src/lib/libbsp/m68k/sim68000/console/debugio.c
+++ b/c/src/lib/libbsp/m68k/sim68000/console/debugio.c
@@ -1,10 +1,5 @@
/*
- * This routine starts the application. It includes application,
- * board, and monitor specific initialization and configuration.
- * The generic CPU dependent initialization has been performed
- * before this routine is invoked.
- *
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -17,6 +12,10 @@
#include <bsp.h>
#include <rtems/bspIo.h>
-void debug_putc( char c ) { write( 2, &c, 1 ); }
+static void debug_putc( char c )
+{
+ write( 2, &c, 1 );
+}
+
BSP_output_char_function_type BSP_output_char = debug_putc;
BSP_polling_getchar_function_type BSP_poll_char = NULL;