aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-nat.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2012-03-02 13:38:39 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2012-03-02 13:38:39 +0000
commitb261e0c5364661b66d55f4e77e95e7d09af8b9aa (patch)
tree3a36835d4d7c7fe6d45a11830a6bbe3c008f9e9f /gdb/ppc-linux-nat.c
parenta95babbf381faac591ef74244aba6b399448c653 (diff)
downloadgdb-b261e0c5364661b66d55f4e77e95e7d09af8b9aa.zip
gdb-b261e0c5364661b66d55f4e77e95e7d09af8b9aa.tar.gz
gdb-b261e0c5364661b66d55f4e77e95e7d09af8b9aa.tar.bz2
Fix -Wmissing-prototypes build.
* ppc-linux-nat.c (ppc_linux_get_hwcap): Make static. * remote-sim.c (gdbsim_has_all_memory): Likewise. (gdbsim_has_memory): Likewise.
Diffstat (limited to 'gdb/ppc-linux-nat.c')
-rw-r--r--gdb/ppc-linux-nat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c
index 2c98f76..1bd157b 100644
--- a/gdb/ppc-linux-nat.c
+++ b/gdb/ppc-linux-nat.c
@@ -1351,7 +1351,8 @@ store_ppc_registers (const struct regcache *regcache, int tid)
}
/* Fetch the AT_HWCAP entry from the aux vector. */
-unsigned long ppc_linux_get_hwcap (void)
+static unsigned long
+ppc_linux_get_hwcap (void)
{
CORE_ADDR field;