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/remote-nrom.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/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 9b6b047..3409723 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); |