summaryrefslogtreecommitdiff
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
commitc2b93372e65a4996466a5728742dfe4dcb820f53 (patch)
tree2a43a134ff57e135d8cbded36bc65dc12013fb03 /gdb/xmodem.c
parent5ff88953617f395ebc929b89df1471d3ea0e00b1 (diff)
downloadgdb-c2b93372e65a4996466a5728742dfe4dcb820f53.tar.gz
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 1ed9138f9c6..c428bc8e8e1 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;