aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-11-04 23:31:52 +0000
committerStu Grossman <grossman@cygnus>1992-11-04 23:31:52 +0000
commit740b7efa43f092a7732fabd39d5597a7a2f310b3 (patch)
treedaf72f1b955dd5d57b782c9f2d568efe0bdec62a /gdb/serial.h
parent061a65a56f63ceb3d1d7c3aede7133f31f3814e5 (diff)
downloadgdb-740b7efa43f092a7732fabd39d5597a7a2f310b3.zip
gdb-740b7efa43f092a7732fabd39d5597a7a2f310b3.tar.gz
gdb-740b7efa43f092a7732fabd39d5597a7a2f310b3.tar.bz2
* elfread.c, mipsread.c: Include <string.h>.
* i386-stub.c: Include "ansidecl.h" to deal with prototypes. * serial.h: Add prototype for serial_restore().
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 5363929..6a1f2e2 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -75,3 +75,7 @@ int serial_write PARAMS ((const char *str, int len));
/* Close the serial port */
void serial_close PARAMS ((void));
+
+/* Restore the serial port to the state saved in oldstate */
+
+void serial_restore PARAMS ((int desc, struct ttystate oldstate));