[1/2] gdb: xtensa: make locally used functions static
Commit Message
This fixes 'no previous prototype for function' warnings when building
gdb/xtensa-linux-nat.c
2016-03-10 Max Filippov <jcmvbkbc@gmail.com>
gdb/
* xtensa-linux-nat.c (supply_gregset_reg,
xtensa_linux_fetch_inferior_registers,
xtensa_linux_store_inferior_registers): Mark as static.
---
gdb/xtensa-linux-nat.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
@@ -103,7 +103,7 @@ fill_gregset (const struct regcache *regcache,
}
}
-void
+static void
supply_gregset_reg (struct regcache *regcache,
const gdb_gregset_t *gregsetp, int regnum)
{
@@ -260,7 +260,7 @@ store_xtregs (struct regcache *regcache, int regnum)
perror_with_name (_("Couldn't write extended registers"));
}
-void
+static void
xtensa_linux_fetch_inferior_registers (struct target_ops *ops,
struct regcache *regcache, int regnum)
{
@@ -275,7 +275,7 @@ xtensa_linux_fetch_inferior_registers (struct target_ops *ops,
fetch_xtregs (regcache, regnum);
}
-void
+static void
xtensa_linux_store_inferior_registers (struct target_ops *ops,
struct regcache *regcache, int regnum)
{