diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-02 10:04:24 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-02 10:04:24 +0000 |
commit | 92f4671850333cdda195c7c4ad51746c0fa0c3a5 (patch) | |
tree | 8b364ed60bbe3fb6ba2e6e0ae8c725a7832fa128 /cpukit/posix/src/pthread.c | |
parent | 2009-01-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-92f4671850333cdda195c7c4ad51746c0fa0c3a5.tar.bz2 |
Add __attribute__((unused)) to unused function args.
Diffstat (limited to 'cpukit/posix/src/pthread.c')
-rw-r--r-- | cpukit/posix/src/pthread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index 1f97b2f7e5..eb84be8047 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -66,7 +66,7 @@ const pthread_attr_t _POSIX_Threads_Default_attributes = { */ void _POSIX_Threads_Sporadic_budget_TSR( - Objects_Id id, + Objects_Id id __attribute__((unused)), void *argument ) { @@ -139,7 +139,7 @@ void _POSIX_Threads_Sporadic_budget_callout( */ bool _POSIX_Threads_Create_extension( - Thread_Control *executing, + Thread_Control *executing __attribute__((unused)), Thread_Control *created ) { @@ -207,7 +207,7 @@ bool _POSIX_Threads_Create_extension( */ User_extensions_routine _POSIX_Threads_Delete_extension( - Thread_Control *executing, + Thread_Control *executing __attribute__((unused)), Thread_Control *deleted ) { |