aboutsummaryrefslogtreecommitdiff
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
commitfeba2e881d56a17bbdd7c600753fac1684a80c0d (patch)
treed5dd4e85b28b633f001e69a7ea4bc1ac2c009422 /gdb/ser-go32.c
parent9f81f4aa6fe4bc9743482d8e56cfd7713793747e (diff)
downloadgdb-feba2e881d56a17bbdd7c600753fac1684a80c0d.zip
gdb-feba2e881d56a17bbdd7c600753fac1684a80c0d.tar.gz
gdb-feba2e881d56a17bbdd7c600753fac1684a80c0d.tar.bz2
* 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 c0ff0ad..93e43ca 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 */
};