mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-11 02:11:18 +08:00
cpukit i386: 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
0c97eb1d48
commit
a4319861c0
@@ -506,6 +506,11 @@ rtems_debugger_target_hwbreak_control(rtems_debugger_target_watchpoint wp,
|
||||
uintptr_t addr,
|
||||
DB_UINT kind)
|
||||
{
|
||||
(void) wp;
|
||||
(void) insert;
|
||||
(void) addr;
|
||||
(void) kind;
|
||||
|
||||
/*
|
||||
* To do.
|
||||
*/
|
||||
@@ -515,6 +520,8 @@ rtems_debugger_target_hwbreak_control(rtems_debugger_target_watchpoint wp,
|
||||
int
|
||||
rtems_debugger_target_cache_sync(rtems_debugger_target_swbreak* swbreak)
|
||||
{
|
||||
(void) swbreak;
|
||||
|
||||
/*
|
||||
* Nothing to do on an i386.
|
||||
*/
|
||||
|
||||
@@ -23,6 +23,9 @@ uint32_t
|
||||
rtems_rtl_elf_section_flags (const rtems_rtl_obj* obj,
|
||||
const Elf_Shdr* shdr)
|
||||
{
|
||||
(void) obj;
|
||||
(void) shdr;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -61,6 +64,8 @@ rtems_rtl_elf_arch_section_free (const rtems_rtl_obj* obj,
|
||||
bool
|
||||
rtems_rtl_elf_rel_resolve_sym (Elf_Word type)
|
||||
{
|
||||
(void) type;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -140,6 +145,9 @@ rtems_rtl_elf_relocate_rel (rtems_rtl_obj* obj,
|
||||
const Elf_Byte syminfo,
|
||||
const Elf_Word symvalue)
|
||||
{
|
||||
(void) symname;
|
||||
(void) syminfo;
|
||||
|
||||
Elf_Addr target = 0;
|
||||
Elf_Addr* where;
|
||||
Elf_Addr tmp;
|
||||
|
||||
Reference in New Issue
Block a user