aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-12 20:33:21 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-12 20:33:21 +0000
commit954a7fba02030e44cf53c847563253b26b493520 (patch)
tree9e3abf36adc74f185edfb6b17f5e48a30af89d2d
parentde38af99476c3ecffc82b5b0f9ac7bf6ef9e337a (diff)
downloadgdb-954a7fba02030e44cf53c847563253b26b493520.zip
gdb-954a7fba02030e44cf53c847563253b26b493520.tar.gz
gdb-954a7fba02030e44cf53c847563253b26b493520.tar.bz2
2004-01-12 Andrew Cagney <cagney@redhat.com>
* exec.h (exec_ops): Make "extern".
-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. */