summaryrefslogtreecommitdiff
path: root/gdb/gnu-v3-abi.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-06-01 22:22:25 +0000
committerJim Blandy <jimb@codesourcery.com>2001-06-01 22:22:25 +0000
commit4df86aef53d3d40e38542248766780daf6de3b2d (patch)
tree99daef51c33f74a505f17f7e714dcd409392a066 /gdb/gnu-v3-abi.c
parent60e51b8fd0b81e4064e9780b6569453fd95e9542 (diff)
downloadgdb-4df86aef53d3d40e38542248766780daf6de3b2d.tar.gz
* gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
these static --- there's no reason other files should use these.
Diffstat (limited to 'gdb/gnu-v3-abi.c')
-rw-r--r--gdb/gnu-v3-abi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c
index 1bd4ce68b98..015bead1b80 100644
--- a/gdb/gnu-v3-abi.c
+++ b/gdb/gnu-v3-abi.c
@@ -24,7 +24,7 @@
#include "cp-abi.h"
#include "demangle.h"
-struct cp_abi_ops gnu_v3_abi_ops;
+static struct cp_abi_ops gnu_v3_abi_ops;
static int
gnuv3_is_vtable_name (const char *name)
@@ -76,7 +76,7 @@ gnuv3_is_operator_name (const char *name)
vtable_type_gdbarch_data is a gdbarch per-architecture data pointer
which refers to the struct type * for this structure, laid out
appropriately for the architecture. */
-struct gdbarch_data *vtable_type_gdbarch_data;
+static struct gdbarch_data *vtable_type_gdbarch_data;
/* Human-readable names for the numbers of the fields above. */