summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 21:52:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-01 21:52:04 +0000
commitfaab731609b0b8ac23586af660db66be472fc503 (patch)
tree6c4be0f7197edd491641d3f3bbc46a5d7a2e28a2
parentf799d21cea81888e7b6fa4b8749aab1f22fe1561 (diff)
downloadrtems-faab731609b0b8ac23586af660db66be472fc503.tar.bz2
2002-11-01 Joel Sherrill <joel@OARcorp.com>
* console/conscfg.c, startup/bspstart.c: Removed warnings.
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/ChangeLog4
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/console/conscfg.c2
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/sim68000/ChangeLog b/c/src/lib/libbsp/m68k/sim68000/ChangeLog
index 21dddf43ac..2a52d63c38 100644
--- a/c/src/lib/libbsp/m68k/sim68000/ChangeLog
+++ b/c/src/lib/libbsp/m68k/sim68000/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-01 Joel Sherrill <joel@OARcorp.com>
+
+ * console/conscfg.c, startup/bspstart.c: Removed warnings.
+
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
diff --git a/c/src/lib/libbsp/m68k/sim68000/console/conscfg.c b/c/src/lib/libbsp/m68k/sim68000/console/conscfg.c
index 4dee15b9b4..53468ebdbc 100644
--- a/c/src/lib/libbsp/m68k/sim68000/console/conscfg.c
+++ b/c/src/lib/libbsp/m68k/sim68000/console/conscfg.c
@@ -56,7 +56,7 @@ console_tbl Console_Port_Tbl[] = {
mc68681_set_register_2, /* setRegister */
NULL, /* unused */ /* getData */
NULL, /* unused */ /* setData */
- mc68681_baud_rate_table, /* ulClock */
+ (unsigned32)mc68681_baud_rate_table, /* ulClock */
MC68681_VECTOR /* ulIntVector */
}
};
diff --git a/c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c b/c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c
index fea40ef396..012429d80f 100644
--- a/c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c
+++ b/c/src/lib/libbsp/m68k/sim68000/startup/bspstart.c
@@ -54,7 +54,6 @@ void bsp_predriver_hook(void)
void bsp_start( void )
{
- unsigned8 dummy;
extern void * _WorkspaceBase;
extern void *_RamSize;
extern unsigned long _M68k_Ramsize;
@@ -83,6 +82,6 @@ void bsp_start( void )
#include <rtems/bspIo.h>
-int debug_putc( char c ) { write( 2, &c, 1 ); return 0; }
+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;