struct, not struct itself.
* serial.h (serial_restore): Fix prototype, takes pointer not
struct.
+Thu Nov 5 17:33:08 1992 Fred Fish (fnf@cygnus.com)
+
+ * {ser-bsd.c, ser-termios.c} (serial_close): Pass address of
+ struct, not struct itself.
+ * serial.h (serial_restore): Fix prototype, takes pointer not
+ struct.
+
Thu Nov 5 17:12:42 1992 Stu Grossman (grossman at cygnus.com)
* Makefile.in (depend): Add nm.h to the list of things to fixup.
if (desc < 0)
return;
- serial_restore(desc, oldstate);
+ serial_restore(desc, &oldstate);
close(desc);
desc = -1;
if (desc < 0)
return;
- serial_restore(desc, oldstate);
+ serial_restore(desc, &oldstate);
close(desc);
desc = -1;
/* Restore the serial port to the state saved in oldstate */
-void serial_restore PARAMS ((int desc, struct ttystate oldstate));
+void serial_restore PARAMS ((int desc, struct ttystate *oldstate));