PATCH: make more things in gnu-v3-abi.c static
Jim Blandy
jimb@zwingli.cygnus.com
Fri Jun 1 15:23:00 GMT 2001
2001-06-01 Jim Blandy <jimb@redhat.com>
* gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
these static --- there's no reason other files should use these.
Index: gdb/gnu-v3-abi.c
===================================================================
RCS file: /cvs/src/src/gdb/gnu-v3-abi.c,v
retrieving revision 1.1
diff -c -r1.1 gnu-v3-abi.c
*** gdb/gnu-v3-abi.c 2001/05/22 21:02:41 1.1
--- gdb/gnu-v3-abi.c 2001/06/01 22:21:08
***************
*** 24,30 ****
#include "cp-abi.h"
#include "demangle.h"
! struct cp_abi_ops gnu_v3_abi_ops;
static int
gnuv3_is_vtable_name (const char *name)
--- 24,30 ----
#include "cp-abi.h"
#include "demangle.h"
! static struct cp_abi_ops gnu_v3_abi_ops;
static int
gnuv3_is_vtable_name (const char *name)
***************
*** 76,82 ****
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;
/* Human-readable names for the numbers of the fields above. */
--- 76,82 ----
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. */
! static struct gdbarch_data *vtable_type_gdbarch_data;
/* Human-readable names for the numbers of the fields above. */
More information about the Gdb-patches
mailing list