2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>

* console/console.c: Let bsp_in_char return int.
This commit is contained in:
Ralf Corsepius
2009-12-10 08:46:17 +00:00
parent 5f5f681b69
commit e8cf7b5f6a
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Let bsp_in_char return int.
2009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: sparc/shared/bspstart.c was really leon2 specific. So

View File

@@ -439,12 +439,12 @@ static void bsp_out_char (char c)
BSP_output_char_function_type BSP_output_char = bsp_out_char;
static char bsp_in_char(void)
static int bsp_in_char(void)
{
int tmp;
while ((tmp = console_inbyte_nonblocking(0)) < 0);
return (char) tmp;
return tmp;
}
BSP_polling_getchar_function_type BSP_poll_char = bsp_in_char;