gdbserver: make aarch64_write_goto_address static
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 12 Jan 2020 16:06:23 +0000 (11:06 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 12 Jan 2020 16:06:44 +0000 (11:06 -0500)
commitbb1183e25ae74ba21500fb4e39bc1ca9822e3086
tree68040ff5de890fe06118df464e3e46587ed16678
parentf5df0b5f0874598790a60f1462f67887868bd77f
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.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-aarch64-low.c
This page took 0.024022 seconds and 4 git commands to generate.