diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-01-12 11:06:23 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-01-12 11:06:44 -0500 |
commit | bb1183e25ae74ba21500fb4e39bc1ca9822e3086 (patch) | |
tree | 68040ff5de890fe06118df464e3e46587ed16678 /include | |
parent | f5df0b5f0874598790a60f1462f67887868bd77f (diff) | |
download | binutils-bb1183e25ae74ba21500fb4e39bc1ca9822e3086.zip binutils-bb1183e25ae74ba21500fb4e39bc1ca9822e3086.tar.gz binutils-bb1183e25ae74ba21500fb4e39bc1ca9822e3086.tar.bz2 |
gdbserver: make aarch64_write_goto_address static
This function is only used in this file, so make it static. It fixes
this error, when building with -Wmissing-declarations:
CXX linux-aarch64-low.o
/home/simark/src/binutils-gdb/gdb/gdbserver/linux-aarch64-low.c:2642:1: error: no previous declaration for 'void aarch64_write_goto_address(CORE_ADDR, CORE_ADDR, int)' [-Werror=missing-declarations]
aarch64_write_goto_address (CORE_ADDR from, CORE_ADDR to, int size)
^~~~~~~~~~~~~~~~~~~~~~~~~~
gdb/gdbserver/ChangeLog:
* linux-aarch64-low.c (aarch64_write_goto_address): Make static.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions