aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-tcp.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/ser-tcp.c
parent30120c466956627fbfdc64dde2e6415a9986e7d1 (diff)
downloadfsf-binutils-gdb-819cc324665b3ac1842b105d906308f7ab692a76.zip
fsf-binutils-gdb-819cc324665b3ac1842b105d906308f7ab692a76.tar.gz
fsf-binutils-gdb-819cc324665b3ac1842b105d906308f7ab692a76.tar.bz2
s/typedef serial_t/struct serial */
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r--gdb/ser-tcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index 30281cd..fe5cb44 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -34,15 +34,15 @@
#include <signal.h>
#include "gdb_string.h"
-static int tcp_open (serial_t scb, const char *name);
-static void tcp_close (serial_t scb);
+static int tcp_open (struct serial *scb, const char *name);
+static void tcp_close (struct serial *scb);
void _initialize_ser_tcp (void);
/* Open up a raw tcp socket */
static int
-tcp_open (serial_t scb, const char *name)
+tcp_open (struct serial *scb, const char *name)
{
char *port_str;
int port;
@@ -122,7 +122,7 @@ tcp_open (serial_t scb, const char *name)
}
static void
-tcp_close (serial_t scb)
+tcp_close (struct serial *scb)
{
if (scb->fd < 0)
return;