aboutsummaryrefslogtreecommitdiff
path: root/gdb/xmodem.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/xmodem.c
parent30120c466956627fbfdc64dde2e6415a9986e7d1 (diff)
downloadgdb-819cc324665b3ac1842b105d906308f7ab692a76.zip
gdb-819cc324665b3ac1842b105d906308f7ab692a76.tar.gz
gdb-819cc324665b3ac1842b105d906308f7ab692a76.tar.bz2
s/typedef serial_t/struct serial */
Diffstat (limited to 'gdb/xmodem.c')
-rw-r--r--gdb/xmodem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/xmodem.c b/gdb/xmodem.c
index 1ed9138..c428bc8 100644
--- a/gdb/xmodem.c
+++ b/gdb/xmodem.c
@@ -36,7 +36,7 @@ static int blknum; /* XMODEM block number */
static int crcflag; /* Sez we are using CRC's instead of cksums */
static int
-readchar (serial_t desc, int timeout)
+readchar (struct serial *desc, int timeout)
{
int c;
@@ -109,7 +109,7 @@ docrc (unsigned char *p, int len)
send NAK or CRC request. */
int
-xmodem_init_xfer (serial_t desc)
+xmodem_init_xfer (struct serial *desc)
{
int c;
int i;
@@ -160,7 +160,7 @@ xmodem_init_xfer (serial_t desc)
*/
void
-xmodem_send_packet (serial_t desc, unsigned char *packet, int len, int hashmark)
+xmodem_send_packet (struct serial *desc, unsigned char *packet, int len, int hashmark)
{
int i;
int retries;
@@ -246,7 +246,7 @@ xmodem_send_packet (serial_t desc, unsigned char *packet, int len, int hashmark)
/* Finish off the transfer. Send out the EOT, and wait for an ACK. */
void
-xmodem_finish_xfer (serial_t desc)
+xmodem_finish_xfer (struct serial *desc)
{
int retries;