diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-14 16:53:49 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-05-15 10:01:43 +0200 |
commit | 7666afc97ab84f3d907cac9f7d083aa11354e56c (patch) | |
tree | 7b82e780dd0f50112f8b30c98fb2133fffcc3644 /cpukit/libfs/src/dosfs/msdos_init.c | |
parent | Filesystem: PR1255: Move offset update to handlers (diff) | |
download | rtems-7666afc97ab84f3d907cac9f7d083aa11354e56c.tar.bz2 |
Filesystem: Add const qualifier to lock/unlock
Diffstat (limited to 'cpukit/libfs/src/dosfs/msdos_init.c')
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_init.c b/cpukit/libfs/src/dosfs/msdos_init.c index 589ba1c0fe..544fef49be 100644 --- a/cpukit/libfs/src/dosfs/msdos_init.c +++ b/cpukit/libfs/src/dosfs/msdos_init.c @@ -51,7 +51,7 @@ const rtems_filesystem_operations_table msdos_ops = { .statvfs_h = rtems_filesystem_default_statvfs }; -void msdos_lock(rtems_filesystem_mount_table_entry_t *mt_entry) +void msdos_lock(const rtems_filesystem_mount_table_entry_t *mt_entry) { msdos_fs_info_t *fs_info = mt_entry->fs_info; rtems_status_code sc = rtems_semaphore_obtain( @@ -64,7 +64,7 @@ void msdos_lock(rtems_filesystem_mount_table_entry_t *mt_entry) } } -void msdos_unlock(rtems_filesystem_mount_table_entry_t *mt_entry) +void msdos_unlock(const rtems_filesystem_mount_table_entry_t *mt_entry) { msdos_fs_info_t *fs_info = mt_entry->fs_info; rtems_status_code sc = rtems_semaphore_release(fs_info->vol_sema); |