mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user