summaryrefslogtreecommitdiff
path: root/gdb/ser-pipe.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/ser-pipe.c
parent5ff88953617f395ebc929b89df1471d3ea0e00b1 (diff)
downloadgdb-c2b93372e65a4996466a5728742dfe4dcb820f53.tar.gz
s/typedef serial_t/struct serial */
Diffstat (limited to 'gdb/ser-pipe.c')
-rw-r--r--gdb/ser-pipe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ser-pipe.c b/gdb/ser-pipe.c
index 3e232872301..bca0e54e4ba 100644
--- a/gdb/ser-pipe.c
+++ b/gdb/ser-pipe.c
@@ -34,8 +34,8 @@
#include <signal.h>
-static int pipe_open (serial_t scb, const char *name);
-static void pipe_close (serial_t scb);
+static int pipe_open (struct serial *scb, const char *name);
+static void pipe_close (struct serial *scb);
extern void _initialize_ser_pipe (void);
@@ -47,7 +47,7 @@ struct pipe_state
/* Open up a raw pipe */
static int
-pipe_open (serial_t scb, const char *name)
+pipe_open (struct serial *scb, const char *name)
{
#if !HAVE_SOCKETPAIR
return -1;
@@ -117,7 +117,7 @@ pipe_open (serial_t scb, const char *name)
}
static void
-pipe_close (serial_t scb)
+pipe_close (struct serial *scb)
{
struct pipe_state *state = scb->state;
if (state != NULL)