aboutsummaryrefslogtreecommitdiff
path: root/gdb/cplus-dem.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cplus-dem.c')
-rw-r--r--gdb/cplus-dem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cplus-dem.c b/gdb/cplus-dem.c
index 8b4237a..d303ea4 100644
--- a/gdb/cplus-dem.c
+++ b/gdb/cplus-dem.c
@@ -105,7 +105,7 @@ static char **typevec = 0;
static int ntypes = 0;
static int typevec_size = 0;
-const static struct {
+const static struct optable {
const char *in;
const char *out;
} optable[] = {
@@ -150,7 +150,7 @@ const static struct {
/* Beware: these aren't '\0' terminated. */
-typedef struct {
+typedef struct string {
char *b; /* pointer to start of string */
char *p; /* pointer after last character */
char *e; /* pointer after end of allocated space */