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

* console/console.c: Let nds_getch return "int". Remove casts.
This commit is contained in:
Ralf Corsepius
2009-12-07 16:22:43 +00:00
parent 6789d70a66
commit 56aadea27f
2 changed files with 7 additions and 5 deletions

View File

@@ -1,3 +1,7 @@
2009-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Let nds_getch return "int". Remove casts.
2009-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* block/block.c: Adjust prototype mismatches.

View File

@@ -51,7 +51,7 @@ console_push (char c)
ch = c;
}
char
int
nds_getch (void)
{
char c;
@@ -62,10 +62,8 @@ nds_getch (void)
return c;
}
BSP_output_char_function_type BSP_output_char =
(BSP_output_char_function_type) nds_putch;
BSP_polling_getchar_function_type BSP_poll_char =
(BSP_polling_getchar_function_type) nds_getch;
BSP_output_char_function_type BSP_output_char = nds_putch;
BSP_polling_getchar_function_type BSP_poll_char = nds_getch;
/*
* console write operation.