aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-utils.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-07-10 21:06:34 +0000
committerAndrew Cagney <cagney@redhat.com>2001-07-10 21:06:34 +0000
commitba3a85231b0063f457e88e57edd12f244b6ceabc (patch)
tree8447c9eacb718c98ada7feed4a96cd80fa72866e /gdb/remote-utils.h
parent2aa830e4a6c1e6f378b87ed37a5a239325a59982 (diff)
downloadgdb-ba3a85231b0063f457e88e57edd12f244b6ceabc.zip
gdb-ba3a85231b0063f457e88e57edd12f244b6ceabc.tar.gz
gdb-ba3a85231b0063f457e88e57edd12f244b6ceabc.tar.bz2
* remote-utils.h (struct serial): Declare as opaque. Remove
include of "serial.h". * Makefile.in (remote_utils_h): Update. * monitor.h (struct serial): Declare as opaque. Remove include of "serial.h". (struct monitor_ops): Replace serial_t with `struct serial *'. * monitor.c (monitor_desc): Ditto.
Diffstat (limited to 'gdb/remote-utils.h')
-rw-r--r--gdb/remote-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-utils.h b/gdb/remote-utils.h
index 568ea08..3ca3bb4 100644
--- a/gdb/remote-utils.h
+++ b/gdb/remote-utils.h
@@ -22,8 +22,8 @@
#ifndef REMOTE_UTILS_H
#define REMOTE_UTILS_H
-#include "serial.h"
#include "target.h"
+struct serial;
/* Stuff that should be shared (and handled consistently) among the various
remote targets. */
@@ -35,7 +35,7 @@ struct _sr_settings
int retries;
char *device;
- serial_t desc;
+ struct serial *desc;
};