summaryrefslogtreecommitdiff
path: root/gdb/gnu-v2-abi.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-02-02 23:16:52 +0000
committerTom Tromey <tromey@redhat.com>2010-02-02 23:16:52 +0000
commit37b989f713c64fa3429d1ce470fdb25389c7eb0b (patch)
tree3b7114dc99a327334f45640d502f64ae22b62966 /gdb/gnu-v2-abi.c
parente29c905cd8fdc87b7d8660c07601b810052e9444 (diff)
downloadgdb-37b989f713c64fa3429d1ce470fdb25389c7eb0b.tar.gz
* gnu-v2-abi.c: Don't include gnu-v2-abi.h.
(gnuv2_baseclass_offset): Now static. * Makefile.in (HFILES_NO_SRCDIR): Remove gnu-v2-abi.h. * gnu-v2-abi.h: Remove.
Diffstat (limited to 'gdb/gnu-v2-abi.c')
-rw-r--r--gdb/gnu-v2-abi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c
index cfca9137669..8931be2832f 100644
--- a/gdb/gnu-v2-abi.c
+++ b/gdb/gnu-v2-abi.c
@@ -28,7 +28,6 @@
#include "demangle.h"
#include "cp-abi.h"
#include "cp-support.h"
-#include "gnu-v2-abi.h"
#include <ctype.h>
@@ -346,7 +345,7 @@ vb_match (struct type *type, int index, struct type *basetype)
-1 is returned on error. */
-int
+static int
gnuv2_baseclass_offset (struct type *type, int index,
const bfd_byte *valaddr, CORE_ADDR address)
{