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/pthreadatfork.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 '')
-rw-r--r-- | cpukit/posix/src/pthreadatfork.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/posix/src/pthreadatfork.c b/cpukit/posix/src/pthreadatfork.c index 84aed3a196..9a08abd254 100644 --- a/cpukit/posix/src/pthreadatfork.c +++ b/cpukit/posix/src/pthreadatfork.c @@ -28,9 +28,9 @@ #include <rtems/seterr.h> int pthread_atfork( - void (*prepare)(void), - void (*parent)(void), - void (*child)(void) + void (*prepare)(void) __attribute__((unused)), + void (*parent)(void) __attribute__((unused)), + void (*child)(void) __attribute__((unused)) ) { rtems_set_errno_and_return_minus_one( ENOSYS ); |