mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 08:54:44 +08:00
2005-05-06 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/termios.c: Removed warnings.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2005-05-06 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* libcsupport/src/termios.c: Removed warnings.
|
||||
|
||||
2005-05-06 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* libnetworking/net/if.h, libnetworking/net/if_ppp.c,
|
||||
|
||||
@@ -757,7 +757,7 @@ rtems_termios_write (void *arg)
|
||||
}
|
||||
if (tty->termios.c_oflag & OPOST) {
|
||||
uint32_t count = args->count;
|
||||
uint8_t *buffer = args->buffer;
|
||||
char *buffer = args->buffer;
|
||||
while (count--)
|
||||
oproc (*buffer++, tty);
|
||||
args->bytes_moved = args->count;
|
||||
@@ -1079,7 +1079,7 @@ rtems_termios_read (void *arg)
|
||||
rtems_libio_rw_args_t *args = arg;
|
||||
struct rtems_termios_tty *tty = args->iop->data1;
|
||||
uint32_t count = args->count;
|
||||
uint8_t *buffer = args->buffer;
|
||||
char *buffer = args->buffer;
|
||||
rtems_status_code sc;
|
||||
|
||||
sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
|
||||
|
||||
Reference in New Issue
Block a user