mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
cpukit moxie: Address unused parameter warnings
Add "(void) param;" annotation to address unused parameter warnings. Found with GCC's warning -Wunused-parameter.
This commit is contained in:
committed by
Gedare Bloom
parent
e96cc8be71
commit
a9a8c963e4
@@ -52,6 +52,9 @@ uint32_t
|
|||||||
rtems_rtl_elf_section_flags (const rtems_rtl_obj* obj,
|
rtems_rtl_elf_section_flags (const rtems_rtl_obj* obj,
|
||||||
const Elf_Shdr* shdr)
|
const Elf_Shdr* shdr)
|
||||||
{
|
{
|
||||||
|
(void) obj;
|
||||||
|
(void) shdr;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -90,6 +93,8 @@ rtems_rtl_elf_arch_section_free (const rtems_rtl_obj* obj,
|
|||||||
bool
|
bool
|
||||||
rtems_rtl_elf_rel_resolve_sym (Elf_Word type)
|
rtems_rtl_elf_rel_resolve_sym (Elf_Word type)
|
||||||
{
|
{
|
||||||
|
(void) type;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -133,6 +138,10 @@ rtems_rtl_elf_relocate_rela (rtems_rtl_obj* obj,
|
|||||||
const Elf_Byte syminfo,
|
const Elf_Byte syminfo,
|
||||||
const Elf_Word symvalue)
|
const Elf_Word symvalue)
|
||||||
{
|
{
|
||||||
|
(void) obj;
|
||||||
|
(void) symname;
|
||||||
|
(void) syminfo;
|
||||||
|
|
||||||
Elf_Addr *where;
|
Elf_Addr *where;
|
||||||
Elf_Sword tmp;
|
Elf_Sword tmp;
|
||||||
|
|
||||||
|
|||||||
@@ -33,5 +33,7 @@
|
|||||||
|
|
||||||
void _CPU_Exception_frame_print( const CPU_Exception_frame *frame )
|
void _CPU_Exception_frame_print( const CPU_Exception_frame *frame )
|
||||||
{
|
{
|
||||||
|
(void) frame;
|
||||||
|
|
||||||
/* TODO */
|
/* TODO */
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user