mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-23 18:42:20 +08:00
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:
committed by
Gedare Bloom
parent
1339ef1b10
commit
bc959e983f
@@ -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 &&
|
||||
|
||||
@@ -42,6 +42,8 @@
|
||||
|
||||
void * sbrk(ptrdiff_t incr)
|
||||
{
|
||||
(void) incr;
|
||||
|
||||
errno = ENOMEM;
|
||||
return (void *)-1;
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user