bsps/shared/*: 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 20:52:14 +00:00
committed by Gedare Bloom
parent 1339ef1b10
commit bc959e983f
39 changed files with 234 additions and 0 deletions
+2
View File
@@ -50,6 +50,8 @@ void bsp_fatal_extension(
rtems_fatal_code code
)
{
(void) always_set_to_false;
#if defined(RTEMS_SMP)
if (
source == RTEMS_FATAL_SOURCE_SMP &&
+2
View File
@@ -42,6 +42,8 @@
void * sbrk(ptrdiff_t incr)
{
(void) incr;
errno = ENOMEM;
return (void *)-1;
}
+2
View File
@@ -45,6 +45,8 @@ static Heap_Control bsp_stack_heap;
void bsp_stack_allocate_init(size_t stack_space_size)
{
(void) stack_space_size;
_Heap_Initialize(
&bsp_stack_heap,
bsp_section_stack_begin,