aboutsummaryrefslogtreecommitdiff
path: root/gdb/nindy-share
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/nindy-share
parent30120c466956627fbfdc64dde2e6415a9986e7d1 (diff)
downloadgdb-819cc324665b3ac1842b105d906308f7ab692a76.zip
gdb-819cc324665b3ac1842b105d906308f7ab692a76.tar.gz
gdb-819cc324665b3ac1842b105d906308f7ab692a76.tar.bz2
s/typedef serial_t/struct serial */
Diffstat (limited to 'gdb/nindy-share')
-rw-r--r--gdb/nindy-share/Onindy.c2
-rw-r--r--gdb/nindy-share/nindy.c6
-rw-r--r--gdb/nindy-share/ttyflush.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/gdb/nindy-share/Onindy.c b/gdb/nindy-share/Onindy.c
index a11400d..f89bafd 100644
--- a/gdb/nindy-share/Onindy.c
+++ b/gdb/nindy-share/Onindy.c
@@ -58,7 +58,7 @@
extern int quiet; /* 1 => stifle unnecessary messages */
/* tty connected to 960/NINDY board. */
-extern serial_t nindy_serial;
+extern struct serial *nindy_serial;
static OninStrGet();
diff --git a/gdb/nindy-share/nindy.c b/gdb/nindy-share/nindy.c
index 9846fc6..f32b1a2 100644
--- a/gdb/nindy-share/nindy.c
+++ b/gdb/nindy-share/nindy.c
@@ -89,7 +89,7 @@
#define TIMEOUT -1
int quiet = 0; /* 1 => stifle unnecessary messages */
-serial_t nindy_serial;
+struct serial *nindy_serial;
static int old_nindy = 0; /* 1 => use old (hex) communication protocol */
static ninStrGet();
@@ -514,7 +514,7 @@ parse_baudrate(s)
static int
try_baudrate (serial, brp)
- serial_t serial;
+ struct serial *serial;
struct baudrate *brp;
{
unsigned char c;
@@ -540,7 +540,7 @@ try_baudrate (serial, brp)
******************************************************************************/
static
autobaud( serial, brp )
- serial_t serial;
+ struct serial *serial;
struct baudrate *brp;
{
int i;
diff --git a/gdb/nindy-share/ttyflush.c b/gdb/nindy-share/ttyflush.c
index ff3b644..786850a 100644
--- a/gdb/nindy-share/ttyflush.c
+++ b/gdb/nindy-share/ttyflush.c
@@ -27,7 +27,7 @@
int
tty_flush (serial)
- serial_t serial;
+ struct serial *serial;
{
while (1)
{