diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-07-11 17:52:32 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-07-11 17:52:32 +0000 |
commit | c2b93372e65a4996466a5728742dfe4dcb820f53 (patch) | |
tree | 2a43a134ff57e135d8cbded36bc65dc12013fb03 /gdb/remote-mips.c | |
parent | 5ff88953617f395ebc929b89df1471d3ea0e00b1 (diff) | |
download | gdb-c2b93372e65a4996466a5728742dfe4dcb820f53.tar.gz |
s/typedef serial_t/struct serial */
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r-- | gdb/remote-mips.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 882cbca163c..5adb729193c 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) |