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 | c2b93372e65a4996466a5728742dfe4dcb820f53 (patch) | |
tree | 2a43a134ff57e135d8cbded36bc65dc12013fb03 /gdb/ser-tcp.c | |
parent | 5ff88953617f395ebc929b89df1471d3ea0e00b1 (diff) | |
download | gdb-c2b93372e65a4996466a5728742dfe4dcb820f53.tar.gz |
s/typedef serial_t/struct serial */
Diffstat (limited to 'gdb/ser-tcp.c')
-rw-r--r-- | gdb/ser-tcp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c index 30281cde1ee..fe5cb4420b9 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; |