diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-15 09:29:55 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-09-15 09:29:55 +0000 |
commit | 9e14ca27ef0ea4c2866b943556168e2d4fd25eb6 (patch) | |
tree | 35ed7be9a91fb9b5038daf5b35164a1a53536d1e /cpukit/libcsupport/src/envlock.c | |
parent | 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-9e14ca27ef0ea4c2866b943556168e2d4fd25eb6.tar.bz2 |
Add __attribute__((unused)) to function arguments.
Diffstat (limited to 'cpukit/libcsupport/src/envlock.c')
-rw-r--r-- | cpukit/libcsupport/src/envlock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/envlock.c b/cpukit/libcsupport/src/envlock.c index 687eb32753..32fb78f0d5 100644 --- a/cpukit/libcsupport/src/envlock.c +++ b/cpukit/libcsupport/src/envlock.c @@ -95,13 +95,13 @@ __env_unlock(struct _reent *r) #include <rtems/libio_.h> void -__env_lock(struct _reent *r) +__env_lock(struct _reent *r __attribute__((unused))) { rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT ); } void -__env_unlock(struct _reent *r) +__env_unlock(struct _reent *r __attribute__((unused))) { rtems_semaphore_release( rtems_libio_semaphore ); } |