mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-24 10:48:38 +08:00
Add __attribute__((unused)) to unused function args.
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
|
||||
void _Thread_Delay_ended(
|
||||
Objects_Id id,
|
||||
void *ignored
|
||||
void *ignored __attribute__((unused))
|
||||
)
|
||||
{
|
||||
Thread_Control *the_thread;
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
*/
|
||||
|
||||
void _Thread_queue_Extract_fifo(
|
||||
Thread_queue_Control *the_thread_queue,
|
||||
Thread_queue_Control *the_thread_queue __attribute__((unused)),
|
||||
Thread_Control *the_thread
|
||||
)
|
||||
{
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
*/
|
||||
|
||||
void _Thread_queue_Extract_priority_helper(
|
||||
Thread_queue_Control *the_thread_queue,
|
||||
Thread_queue_Control *the_thread_queue __attribute__((unused)),
|
||||
Thread_Control *the_thread,
|
||||
bool requeuing
|
||||
)
|
||||
|
||||
@@ -41,7 +41,11 @@
|
||||
|
||||
void _Thread_queue_Flush(
|
||||
Thread_queue_Control *the_thread_queue,
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
Thread_queue_Flush_callout remote_extract_callout,
|
||||
#else
|
||||
Thread_queue_Flush_callout remote_extract_callout __attribute__((unused)),
|
||||
#endif
|
||||
uint32_t status
|
||||
)
|
||||
{
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
void _Thread_queue_Timeout(
|
||||
Objects_Id id,
|
||||
void *ignored
|
||||
void *ignored __attribute__((unused))
|
||||
)
|
||||
{
|
||||
Thread_Control *the_thread;
|
||||
|
||||
Reference in New Issue
Block a user