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/remote-nrom.c | |
parent | 5ff88953617f395ebc929b89df1471d3ea0e00b1 (diff) | |
download | gdb-c2b93372e65a4996466a5728742dfe4dcb820f53.tar.gz |
s/typedef serial_t/struct serial */
Diffstat (limited to 'gdb/remote-nrom.c')
-rw-r--r-- | gdb/remote-nrom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote-nrom.c b/gdb/remote-nrom.c index 9b6b0477fcb..340972328f6 100644 --- a/gdb/remote-nrom.c +++ b/gdb/remote-nrom.c @@ -46,8 +46,8 @@ static void nrom_passthru (char *, int); /* We talk to the NetROM over these sockets. */ -static serial_t load_desc = NULL; -static serial_t ctrl_desc = NULL; +static struct serial *load_desc = NULL; +static struct serial *ctrl_desc = NULL; static int load_port = DEFAULT_NETROM_LOAD_PORT; static int control_port = DEFAULT_NETROM_CONTROL_PORT; @@ -97,11 +97,11 @@ nrom_kill (void) nrom_close (0); } -static serial_t +static struct serial * open_socket (char *name, int port) { char sockname[100]; - serial_t desc; + struct serial *desc; sprintf (sockname, "%s:%d", name, port); desc = SERIAL_OPEN (sockname); |