not an initializer, to copy the structure.
serial_ttystate new_ttystate;
serial_ttystate old_ttystate;
{
- struct hardwire_ttystate new_state =
- *(struct hardwire_ttystate *)new_ttystate;
+ struct hardwire_ttystate new_state;
struct hardwire_ttystate *state = (struct hardwire_ttystate *) old_ttystate;
+ new_state = *(struct hardwire_ttystate *)new_ttystate;
+
#ifdef HAVE_TERMIOS
/* I'm not sure whether this is necessary; the manpage makes no mention
of discarding input when switching to/from ICANON. */