aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-v2-abi.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-02-02 23:16:53 +0000
committerTom Tromey <tromey@redhat.com>2010-02-02 23:16:53 +0000
commitf23f4c5973c3ad96ecf812036c6b0ee5a17d726f (patch)
tree41f773af6c8f2b948cee76d243916cd4a6cc6356 /gdb/gnu-v2-abi.c
parentf0d707f50653066b8e335e0e064417535760c42b (diff)
downloadgdb-f23f4c5973c3ad96ecf812036c6b0ee5a17d726f.zip
gdb-f23f4c5973c3ad96ecf812036c6b0ee5a17d726f.tar.gz
gdb-f23f4c5973c3ad96ecf812036c6b0ee5a17d726f.tar.bz2
* 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 cfca913..8931be2 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)
{