Localise "struct reg regs[]".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12769 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_gdbserver/valgrind-low-amd64.c b/coregrind/m_gdbserver/valgrind-low-amd64.c
index 3d6d845..7de55a0 100644
--- a/coregrind/m_gdbserver/valgrind-low-amd64.c
+++ b/coregrind/m_gdbserver/valgrind-low-amd64.c
@@ -41,7 +41,7 @@
/* below loosely inspired from file generated with gdb regdat.sh */
-struct reg regs[] = {
+static struct reg regs[] = {
{ "rax", 0, 64 },
{ "rbx", 64, 64 },
{ "rcx", 128, 64 },
diff --git a/coregrind/m_gdbserver/valgrind-low-arm.c b/coregrind/m_gdbserver/valgrind-low-arm.c
index 1c00a27..a3ea36f 100644
--- a/coregrind/m_gdbserver/valgrind-low-arm.c
+++ b/coregrind/m_gdbserver/valgrind-low-arm.c
@@ -37,7 +37,7 @@
#include "libvex_guest_arm.h"
-struct reg regs[] = {
+static struct reg regs[] = {
{ "r0", 0, 32 },
{ "r1", 32, 32 },
{ "r2", 64, 32 },
diff --git a/coregrind/m_gdbserver/valgrind-low-mips32.c b/coregrind/m_gdbserver/valgrind-low-mips32.c
index de7de88..cf2d603 100644
--- a/coregrind/m_gdbserver/valgrind-low-mips32.c
+++ b/coregrind/m_gdbserver/valgrind-low-mips32.c
@@ -36,7 +36,7 @@
#include "libvex_guest_mips32.h"
-struct reg regs[] = {
+static struct reg regs[] = {
{ "r0", 0, 32 },
{ "r1", 32, 32 },
{ "r2", 64, 32 },
diff --git a/coregrind/m_gdbserver/valgrind-low-ppc32.c b/coregrind/m_gdbserver/valgrind-low-ppc32.c
index fccdb64..9f2f36e 100644
--- a/coregrind/m_gdbserver/valgrind-low-ppc32.c
+++ b/coregrind/m_gdbserver/valgrind-low-ppc32.c
@@ -39,7 +39,7 @@
/* this is only the basic set of registers.
Need to look at what is the exact ppc32 model to support.
*/
-struct reg regs[] = {
+static struct reg regs[] = {
{ "r0", 0, 32 },
{ "r1", 32, 32 },
{ "r2", 64, 32 },
diff --git a/coregrind/m_gdbserver/valgrind-low-ppc64.c b/coregrind/m_gdbserver/valgrind-low-ppc64.c
index 6f10757..9b1a358 100644
--- a/coregrind/m_gdbserver/valgrind-low-ppc64.c
+++ b/coregrind/m_gdbserver/valgrind-low-ppc64.c
@@ -36,7 +36,7 @@
#include "libvex_guest_ppc64.h"
-struct reg regs[] = {
+static struct reg regs[] = {
{ "r0", 0, 64 },
{ "r1", 64, 64 },
{ "r2", 128, 64 },
diff --git a/coregrind/m_gdbserver/valgrind-low-s390x.c b/coregrind/m_gdbserver/valgrind-low-s390x.c
index 15d2162..017a402 100644
--- a/coregrind/m_gdbserver/valgrind-low-s390x.c
+++ b/coregrind/m_gdbserver/valgrind-low-s390x.c
@@ -36,7 +36,7 @@
#include "libvex_guest_s390x.h"
-struct reg regs[] = {
+static struct reg regs[] = {
{ "pswm", 0, 64 },
{ "pswa", 64, 64 },
{ "r0", 128, 64 },