forked from Imagelibrary/rtems
2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libcsupport/src/termios.c: Remove unnecessary type casts.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libcsupport/src/termios.c: Remove unnecessary type casts.
|
||||
|
||||
2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* sapi/include/rtems/io.h : size_t device_name_length.
|
||||
|
||||
@@ -463,7 +463,7 @@ termios_set_flowctrl(struct rtems_termios_tty *tty)
|
||||
if (tty->rawOutBufState != rob_idle) {
|
||||
/* if chars available, call write function... */
|
||||
(*tty->device.write)(tty->minor,
|
||||
(char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);
|
||||
&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);
|
||||
}
|
||||
/* reenable interrupts */
|
||||
rtems_interrupt_enable(level);
|
||||
@@ -1191,7 +1191,7 @@ rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len)
|
||||
if (tty->rawOutBufState != rob_idle) {
|
||||
/* if chars available, call write function... */
|
||||
(*tty->device.write)(tty->minor,
|
||||
(char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
|
||||
&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
|
||||
}
|
||||
/* reenable interrupts */
|
||||
rtems_interrupt_enable(level);
|
||||
@@ -1367,7 +1367,7 @@ rtems_termios_refill_transmitter (struct rtems_termios_tty *tty)
|
||||
}
|
||||
tty->rawOutBufState = rob_busy; /*apm*/
|
||||
(*tty->device.write)(tty->minor,
|
||||
(char *)&tty->rawOutBuf.theBuf[newTail],
|
||||
&tty->rawOutBuf.theBuf[newTail],
|
||||
nToSend);
|
||||
}
|
||||
tty->rawOutBuf.Tail = newTail; /*apm*/
|
||||
|
||||
Reference in New Issue
Block a user