xtensa: Add missing statics
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 3 Nov 2015 18:33:16 +0000 (13:33 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Tue, 3 Nov 2015 18:33:16 +0000 (13:33 -0500)
commit1c215b97f9a64d6ba9821e8a0cf0f44526f29d78
tree5ee1cb91ea6b125217d52b8a573a1324029839d3
parent1996e237bb2fd3ac6c487b6e0821fdce6e03d122
xtensa: Add missing statics

This actually fixes the build in C:

/home/simark/src/binutils-gdb/gdb/xtensa-linux-nat.c:100:1: error: no previous prototype for ‘supply_gregset_reg’ [-Werror=missing-prototypes]
 supply_gregset_reg (struct regcache *regcache,
 ^
/home/simark/src/binutils-gdb/gdb/xtensa-linux-nat.c:257:1: error: no previous prototype for ‘xtensa_linux_fetch_inferior_registers’ [-Werror=missing-prototypes]
 xtensa_linux_fetch_inferior_registers (struct target_ops *ops,
 ^
/home/simark/src/binutils-gdb/gdb/xtensa-linux-nat.c:272:1: error: no previous prototype for ‘xtensa_linux_store_inferior_registers’ [-Werror=missing-prototypes]
 xtensa_linux_store_inferior_registers (struct target_ops *ops,
 ^
cc1: all warnings being treated as errors

These functions are local to this file, so they should be static.

gdb/ChangeLog:

* xtensa-linux-nat.c (supply_gregset_reg): Make static.
(xtensa_linux_fetch_inferior_registers): Likewise.
(xtensa_linux_store_inferior_registers): Likewise.
gdb/ChangeLog
gdb/xtensa-linux-nat.c