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.
This commit is contained in:
parent
a95babbf38
commit
b261e0c536
3 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2012-03-02 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
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.
|
||||
|
||||
2012-03-02 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
Fix -Wmissing-prototypes build.
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue