s/typedef serial_t/struct serial */

This commit is contained in:
Andrew Cagney
2001-07-11 17:52:32 +00:00
parent 30120c4669
commit 819cc32466
35 changed files with 321 additions and 273 deletions

View File

@@ -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)