From: Eli Zaretskii Date: Sun, 19 Mar 2000 11:24:41 +0000 (+0000) Subject: * ser-go32.c (ports): Make the initializers complete, to pacify X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=feba2e881d56a17bbdd7c600753fac1684a80c0d;p=binutils-gdb.git * ser-go32.c (ports): Make the initializers complete, to pacify GCC 2.9X. --- 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 */ };