This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Missing "extern" in header
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 12 Jan 2004 15:34:57 -0500
- Subject: [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. */