aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/varobj.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4ba4d28..b9a46eb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2014-02-20 Tom Tromey <tromey@redhat.com>
+ * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
+ (ada_varobj_ops): Mark "extern".
+
+2014-02-20 Tom Tromey <tromey@redhat.com>
+
* dbxread.c (read_dbx_symtab): Remove last_o_file_start.
2014-02-20 Doug Evans <xdje42@gmail.com>
diff --git a/gdb/varobj.h b/gdb/varobj.h
index e4007bf..1199e0b 100644
--- a/gdb/varobj.h
+++ b/gdb/varobj.h
@@ -215,10 +215,10 @@ struct lang_varobj_ops
struct type *new_type);
};
-const struct lang_varobj_ops c_varobj_ops;
-const struct lang_varobj_ops cplus_varobj_ops;
-const struct lang_varobj_ops java_varobj_ops;
-const struct lang_varobj_ops ada_varobj_ops;
+extern const struct lang_varobj_ops c_varobj_ops;
+extern const struct lang_varobj_ops cplus_varobj_ops;
+extern const struct lang_varobj_ops java_varobj_ops;
+extern const struct lang_varobj_ops ada_varobj_ops;
#define default_varobj_ops c_varobj_ops
/* API functions */