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 | 819cc324665b3ac1842b105d906308f7ab692a76 (patch) | |
tree | e3784018165b88ebe8ba4a17ac651815ac705f9d /gdb/sparcl-tdep.c | |
parent | 30120c466956627fbfdc64dde2e6415a9986e7d1 (diff) | |
download | gdb-819cc324665b3ac1842b105d906308f7ab692a76.zip gdb-819cc324665b3ac1842b105d906308f7ab692a76.tar.gz gdb-819cc324665b3ac1842b105d906308f7ab692a76.tar.bz2 |
s/typedef serial_t/struct serial */
Diffstat (limited to 'gdb/sparcl-tdep.c')
-rw-r--r-- | gdb/sparcl-tdep.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/sparcl-tdep.c b/gdb/sparcl-tdep.c index a910d0c..9c2cb6b 100644 --- a/gdb/sparcl-tdep.c +++ b/gdb/sparcl-tdep.c @@ -38,14 +38,14 @@ static struct target_ops sparclite_ops; static char *remote_target_name = NULL; -static serial_t remote_desc = NULL; +static struct serial *remote_desc = NULL; static int serial_flag; #ifdef HAVE_SOCKETS static int udp_fd = -1; #endif -static serial_t open_tty (char *name); -static int send_resp (serial_t desc, char c); +static struct serial *open_tty (char *name); +static int send_resp (struct serial *desc, char c); static void close_tty (void * ignore); #ifdef HAVE_SOCKETS static int recv_udp_buf (int fd, unsigned char *buf, int len, int timeout); @@ -259,10 +259,10 @@ sparclite_stopped_data_address (void) return 0; } -static serial_t +static struct serial * open_tty (char *name) { - serial_t desc; + struct serial *desc; desc = SERIAL_OPEN (name); if (!desc) @@ -287,7 +287,7 @@ open_tty (char *name) /* Read a single character from the remote end, masking it down to 7 bits. */ static int -readchar (serial_t desc, int timeout) +readchar (struct serial *desc, int timeout) { int ch; char s[10]; @@ -313,7 +313,7 @@ readchar (serial_t desc, int timeout) } static void -debug_serial_write (serial_t desc, char *buf, int len) +debug_serial_write (struct serial *desc, char *buf, int len) { char s[10]; @@ -331,7 +331,7 @@ debug_serial_write (serial_t desc, char *buf, int len) static int -send_resp (serial_t desc, char c) +send_resp (struct serial *desc, char c) { debug_serial_write (desc, &c, 1); return readchar (desc, remote_timeout); |