2004-01-12 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 12 Jan 2004 20:33:21 +0000 (20:33 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 12 Jan 2004 20:33:21 +0000 (20:33 +0000)
* exec.h (exec_ops): Make "extern".

gdb/ChangeLog
gdb/exec.h

index 0f8d973..c5993ee 100644 (file)
@@ -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.
index e9c2d17..d086251 100644 (file)
@@ -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.  */