diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2012-03-02 13:38:35 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2012-03-02 13:38:35 +0000 |
commit | 5eff0f488de28505d18b6224c61a870af546b490 (patch) | |
tree | d149ad7b92d2fa10f8df493d3ffd0674f0bc43fa /gdb/remote-sim.c | |
parent | a12e18f74ada8c042bd5521696481451e6f77747 (diff) | |
download | gdb-5eff0f488de28505d18b6224c61a870af546b490.tar.gz |
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/remote-sim.c')
-rw-r--r-- | gdb/remote-sim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index ee73cce47c5..75a7941cb33 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -1239,7 +1239,7 @@ gdbsim_pid_to_str (struct target_ops *ops, ptid_t ptid) /* Simulator memory may be accessed after the program has been loaded. */ -int +static int gdbsim_has_all_memory (struct target_ops *ops) { struct sim_inferior_data *sim_data @@ -1251,7 +1251,7 @@ gdbsim_has_all_memory (struct target_ops *ops) return 1; } -int +static int gdbsim_has_memory (struct target_ops *ops) { struct sim_inferior_data *sim_data |