Add __attribute__((unused)) to unused function args.

This commit is contained in:
Ralf Corsepius
2008-12-31 03:36:04 +00:00
parent b5deb75def
commit ba42d22d70
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
void _Thread_Delay_ended(
Objects_Id id,
void *ignored
void *ignored __attribute__((unused))
)
{
Thread_Control *the_thread;
+1 -1
View File
@@ -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
)
{
+1 -1
View File
@@ -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
)
+4
View File
@@ -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
)
{
+1 -1
View File
@@ -39,7 +39,7 @@
void _Thread_queue_Timeout(
Objects_Id id,
void *ignored
void *ignored __attribute__((unused))
)
{
Thread_Control *the_thread;