From 402dca80e7bb6bd2f98d238224a8b34278dbf2ae Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Fri, 6 Nov 1992 01:35:57 +0000 Subject: * {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. --- gdb/serial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/serial.h') diff --git a/gdb/serial.h b/gdb/serial.h index 6a1f2e26837..1295d185266 100644 --- a/gdb/serial.h +++ b/gdb/serial.h @@ -78,4 +78,4 @@ void serial_close PARAMS ((void)); /* 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)); -- cgit v1.2.3