mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +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>
|
2009-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* block/block.c: Adjust prototype mismatches.
|
* block/block.c: Adjust prototype mismatches.
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ console_push (char c)
|
|||||||
ch = c;
|
ch = c;
|
||||||
}
|
}
|
||||||
|
|
||||||
char
|
int
|
||||||
nds_getch (void)
|
nds_getch (void)
|
||||||
{
|
{
|
||||||
char c;
|
char c;
|
||||||
@@ -62,10 +62,8 @@ nds_getch (void)
|
|||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
BSP_output_char_function_type BSP_output_char =
|
BSP_output_char_function_type BSP_output_char = nds_putch;
|
||||||
(BSP_output_char_function_type) nds_putch;
|
BSP_polling_getchar_function_type BSP_poll_char = nds_getch;
|
||||||
BSP_polling_getchar_function_type BSP_poll_char =
|
|
||||||
(BSP_polling_getchar_function_type) nds_getch;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* console write operation.
|
* console write operation.
|
||||||
|
|||||||
Reference in New Issue
Block a user