aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-07-11 17:52:32 +0000
committerAndrew Cagney <cagney@redhat.com>2001-07-11 17:52:32 +0000
commit819cc324665b3ac1842b105d906308f7ab692a76 (patch)
treee3784018165b88ebe8ba4a17ac651815ac705f9d /gdb/remote-mips.c
parent30120c466956627fbfdc64dde2e6415a9986e7d1 (diff)
downloadfsf-binutils-gdb-819cc324665b3ac1842b105d906308f7ab692a76.zip
fsf-binutils-gdb-819cc324665b3ac1842b105d906308f7ab692a76.tar.gz
fsf-binutils-gdb-819cc324665b3ac1842b105d906308f7ab692a76.tar.bz2
s/typedef serial_t/struct serial */
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r--gdb/remote-mips.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c
index 882cbca..5adb729 100644
--- a/gdb/remote-mips.c
+++ b/gdb/remote-mips.c
@@ -362,10 +362,10 @@ static int mips_receive_wait = 5;
static int mips_need_reply = 0;
/* Handle used to access serial I/O stream. */
-static serial_t mips_desc;
+static struct serial *mips_desc;
/* UDP handle used to download files to target. */
-static serial_t udp_desc;
+static struct serial *udp_desc;
static int udp_in_use;
/* TFTP filename used to download files to DDB board, in the form
@@ -1540,7 +1540,7 @@ device is attached to the target board (e.g., /dev/ttya).\n"
/* Open and initialize the serial port. */
mips_desc = SERIAL_OPEN (serial_port_name);
- if (mips_desc == (serial_t) NULL)
+ if (mips_desc == NULL)
perror_with_name (serial_port_name);
if (baud_rate != -1)