aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-11-06 01:35:57 +0000
committerFred Fish <fnf@specifix.com>1992-11-06 01:35:57 +0000
commit402dca80e7bb6bd2f98d238224a8b34278dbf2ae (patch)
tree43709a481b1c676b35d01a7821c15d5aefdaf662 /gdb/serial.h
parent2352d20bd7521afc2b135b7ecb5d41c55a3e8d69 (diff)
downloadgdb-402dca80e7bb6bd2f98d238224a8b34278dbf2ae.zip
gdb-402dca80e7bb6bd2f98d238224a8b34278dbf2ae.tar.gz
gdb-402dca80e7bb6bd2f98d238224a8b34278dbf2ae.tar.bz2
* {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.
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 6a1f2e2..1295d18 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));