summaryrefslogtreecommitdiff
path: root/gdb/ser-go32.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2000-03-19 11:24:41 +0000
committerEli Zaretskii <eliz@gnu.org>2000-03-19 11:24:41 +0000
commitda2c2f620a60ed7da5265559872b5329d8629b13 (patch)
treef277610b797d781bd99e9fce8b3e11410ed5291e /gdb/ser-go32.c
parent354aeb8188b575fb46edf41339bee6b529ed5dbf (diff)
downloadgdb-da2c2f620a60ed7da5265559872b5329d8629b13.tar.gz
* ser-go32.c (ports): Make the initializers complete, to pacify
GCC 2.9X.
Diffstat (limited to 'gdb/ser-go32.c')
-rw-r--r--gdb/ser-go32.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/ser-go32.c b/gdb/ser-go32.c
index c0ff0ad4c39..93e43ca422e 100644
--- a/gdb/ser-go32.c
+++ b/gdb/ser-go32.c
@@ -214,19 +214,19 @@ static struct dos_ttystate
ports[4] =
{
{
- COM1ADDR, 4
+ COM1ADDR, 4, 0, NULL, 0, 0, "", 0, 0, 0, 0, 0, 0, 0, 0
}
,
{
- COM2ADDR, 3
+ COM2ADDR, 3, 0, NULL, 0, 0, "", 0, 0, 0, 0, 0, 0, 0, 0
}
,
{
- COM3ADDR, 4
+ COM3ADDR, 4, 0, NULL, 0, 0, "", 0, 0, 0, 0, 0, 0, 0, 0
}
,
{
- COM4ADDR, 3
+ COM4ADDR, 3, 0, NULL, 0, 0, "", 0, 0, 0, 0, 0, 0, 0, 0
}
};
@@ -879,6 +879,7 @@ static struct serial_ops dos_ops =
dos_setbaudrate,
dos_setstopbits,
dos_noop, /* wait for output to drain */
+ (void (*)(serial_t, int))NULL /* change into async mode */
};