diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 11:42:19 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 11:42:19 +0000 |
commit | 4088d01d9f037d26365d462fa243561da8cd8cb1 (patch) | |
tree | 09c49db259194ed146ef51d086e6cb142e63fb1b /cpukit/libcsupport/src/termios.c | |
parent | 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-4088d01d9f037d26365d462fa243561da8cd8cb1.tar.bz2 |
Convert using "bool".
Diffstat (limited to 'cpukit/libcsupport/src/termios.c')
-rw-r--r-- | cpukit/libcsupport/src/termios.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index c6033ed388..6898f4493d 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -1144,7 +1144,7 @@ rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) unsigned int newTail; char c; int dropped = 0; - boolean flow_rcv = FALSE; /* TRUE, if flow control char received */ + bool flow_rcv = false; /* true, if flow control char received */ rtems_interrupt_level level; if (rtems_termios_linesw[tty->t_line].l_rint != NULL) { @@ -1180,13 +1180,13 @@ rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) /* stop output */ tty->flow_ctrl |= FL_ORCVXOF; } - flow_rcv = TRUE; + flow_rcv = true; } else if (c == tty->termios.c_cc[VSTART]) { /* VSTART received */ /* restart output */ tty->flow_ctrl &= ~FL_ORCVXOF; - flow_rcv = TRUE; + flow_rcv = true; } } if (flow_rcv) { |