aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/exec.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0f8d973..c5993ee 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2004-01-12 Andrew Cagney <cagney@redhat.com>
+ * exec.h (exec_ops): Make "extern".
+
* mips-tdep.c (mips_pseudo_register_read): Don't return a value,
the function is void.
(mips_pseudo_register_write): Ditto.
diff --git a/gdb/exec.h b/gdb/exec.h
index e9c2d17..d086251 100644
--- a/gdb/exec.h
+++ b/gdb/exec.h
@@ -28,7 +28,7 @@ struct section_table;
struct target_ops;
struct bfd;
-struct target_ops exec_ops;
+extern struct target_ops exec_ops;
/* Builds a section table, given args BFD, SECTABLE_PTR, SECEND_PTR.
Returns 0 if OK, 1 on error. */