]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/varobj.h
mark *_varobj_ops as "extern"
authorTom Tromey <tromey@redhat.com>
Thu, 20 Feb 2014 21:05:32 +0000 (14:05 -0700)
committerTom Tromey <tromey@redhat.com>
Thu, 20 Feb 2014 21:12:33 +0000 (14:12 -0700)
commit8838afaf75d0c3fcf43e246e09664219bc5bfc74
treed392499521e66d8ee0016ba800876873bc601831
parentd86d4aafd4fa22fa4cccb83253fb187b03f97f48
mark *_varobj_ops as "extern"

The AIX linker pointed out that gdb had multiple definitions of the
various *_varobj_ops objects.  This patch fixes the problem by marking
the declarations as "extern" in varobj.h.  Tested by rebuilding on
x86-64 Fedora 18 and on AIX.

2014-02-20  Tom Tromey  <tromey@redhat.com>

* varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
(ada_varobj_ops): Mark "extern".
gdb/ChangeLog
gdb/varobj.h