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:
Joel Sherrill
2025-10-10 16:23:30 -05:00
committed by Gedare Bloom
parent e96cc8be71
commit a9a8c963e4
2 changed files with 11 additions and 0 deletions

View File

@@ -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;

View File

@@ -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 */
} }