diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2015-11-03 13:33:16 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2015-11-03 13:33:16 -0500 |
commit | 1c215b97f9a64d6ba9821e8a0cf0f44526f29d78 (patch) | |
tree | 5ee1cb91ea6b125217d52b8a573a1324029839d3 /bfd | |
parent | 1996e237bb2fd3ac6c487b6e0821fdce6e03d122 (diff) | |
download | gdb-1c215b97f9a64d6ba9821e8a0cf0f44526f29d78.zip gdb-1c215b97f9a64d6ba9821e8a0cf0f44526f29d78.tar.gz gdb-1c215b97f9a64d6ba9821e8a0cf0f44526f29d78.tar.bz2 |
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.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions