This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob] Missing "extern" in header


Just FYI,

committed,
Andrew
2004-01-12  Andrew Cagney  <cagney@redhat.com>

	* exec.h (exec_ops): Make "extern".

Index: exec.h
===================================================================
RCS file: /cvs/src/src/gdb/exec.h,v
retrieving revision 1.1
diff -u -r1.1 exec.h
--- exec.h	23 Oct 2003 03:01:55 -0000	1.1
+++ exec.h	12 Jan 2004 20:30:34 -0000
@@ -28,7 +28,7 @@
 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.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]