summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/defaults/default_lock_and_unlock.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-14 16:53:49 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-05-15 10:01:43 +0200
commit7666afc97ab84f3d907cac9f7d083aa11354e56c (patch)
tree7b82e780dd0f50112f8b30c98fb2133fffcc3644 /cpukit/libfs/src/defaults/default_lock_and_unlock.c
parentFilesystem: PR1255: Move offset update to handlers (diff)
downloadrtems-7666afc97ab84f3d907cac9f7d083aa11354e56c.tar.bz2
Filesystem: Add const qualifier to lock/unlock
Diffstat (limited to 'cpukit/libfs/src/defaults/default_lock_and_unlock.c')
-rw-r--r--cpukit/libfs/src/defaults/default_lock_and_unlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/defaults/default_lock_and_unlock.c b/cpukit/libfs/src/defaults/default_lock_and_unlock.c
index de29a076f1..a88a99d4a5 100644
--- a/cpukit/libfs/src/defaults/default_lock_and_unlock.c
+++ b/cpukit/libfs/src/defaults/default_lock_and_unlock.c
@@ -19,14 +19,14 @@
#include <rtems/libio_.h>
void rtems_filesystem_default_lock(
- rtems_filesystem_mount_table_entry_t *mt_entry
+ const rtems_filesystem_mount_table_entry_t *mt_entry
)
{
rtems_libio_lock();
}
void rtems_filesystem_default_unlock(
- rtems_filesystem_mount_table_entry_t *mt_entry
+ const rtems_filesystem_mount_table_entry_t *mt_entry
)
{
rtems_libio_unlock();