summaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1993-03-20 08:44:42 +0000
committerJohn Gilmore <gnu@cygnus>1993-03-20 08:44:42 +0000
commitf24c159f1bc6baef47a62c2473633e9875fa7a59 (patch)
tree9b02c284efa48e44132d1458fc5e240121d3bbf1 /gdb/serial.h
parent6aa83a798d27cbd0b14990c048310fa98cdea393 (diff)
downloadbinutils-f24c159f1bc6baef47a62c2473633e9875fa7a59.tar.gz
binutils-f24c159f1bc6baef47a62c2473633e9875fa7a59.tar.bz2
binutils-f24c159f1bc6baef47a62c2473633e9875fa7a59.zip
Lint: * c-exp.y (parse_number): Avoid shift warning.
* serial.h (struct ttystate): Declare empty one on DOS.
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 6ac5c0827b6..147873c51f2 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -1,5 +1,5 @@
/* Remote serial support interface definitions for GDB, the GNU Debugger.
- Copyright 1992 Free Software Foundation, Inc.
+ Copyright 1992, 1993 Free Software Foundation, Inc.
This file is part of GDB.
@@ -21,6 +21,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Then you use the asynctsr */
+struct ttystate {
+ /* No members */
+};
+
#else
#ifdef HAVE_TERMIO