summaryrefslogtreecommitdiff
path: root/gdb/ocd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ocd.c')
-rw-r--r--gdb/ocd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ocd.c b/gdb/ocd.c
index f5962c03c6f..72e05e88178 100644
--- a/gdb/ocd.c
+++ b/gdb/ocd.c
@@ -83,7 +83,7 @@ static int remote_timeout = 2;
/* Descriptor for I/O to remote machine. Initialize it to NULL so that
ocd_open knows that we don't have a file open when the program
starts. */
-static serial_t ocd_desc = NULL;
+static struct serial *ocd_desc = NULL;
void
ocd_error (char *s, int error_code)