diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-12-10 13:56:21 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-12-10 13:56:21 +0000 |
commit | 7abb741382b2fcdb27f1f398cf68cc71fb38e447 (patch) | |
tree | 3750fdf268c4678a9acdc4e9a157e25a3468ede2 /c/src/lib | |
parent | 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-7abb741382b2fcdb27f1f398cf68cc71fb38e447.tar.bz2 |
2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/console.c: Eliminate casts.
Diffstat (limited to 'c/src/lib')
-rw-r--r-- | c/src/lib/libbsp/i386/i386ex/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/i386ex/console/console.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/i386/i386ex/ChangeLog b/c/src/lib/libbsp/i386/i386ex/ChangeLog index 6a4c5999b7..9b8118c0bb 100644 --- a/c/src/lib/libbsp/i386/i386ex/ChangeLog +++ b/c/src/lib/libbsp/i386/i386ex/ChangeLog @@ -1,3 +1,7 @@ +2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org> + + * console/console.c: Eliminate casts. + 2009-11-06 Ralf Corsépius <ralf.corsepius@rtems.org> * clock/ckinit.c: Fix Clock_isr prototype. diff --git a/c/src/lib/libbsp/i386/i386ex/console/console.c b/c/src/lib/libbsp/i386/i386ex/console/console.c index 93441bd5e6..e512192701 100644 --- a/c/src/lib/libbsp/i386/i386ex/console/console.c +++ b/c/src/lib/libbsp/i386/i386ex/console/console.c @@ -292,11 +292,9 @@ conSetAttr(int minor, const struct termios *t) * BSP initialization */ -BSP_output_char_function_type BSP_output_char = - (BSP_output_char_function_type) BSP_output_char_via_serial; +BSP_output_char_function_type BSP_output_char = BSP_output_char_via_serial; -BSP_polling_getchar_function_type BSP_poll_char = - (BSP_polling_getchar_function_type) BSP_poll_char_via_serial; +BSP_polling_getchar_function_type BSP_poll_char = BSP_poll_char_via_serial; int BSP_poll_read(int ttyMinor){ |