source: rtems/cpukit/libfs/src/defaults/default_lock_and_unlock.c @ 7666afc

4.115
Last change on this file since 7666afc was 7666afc, checked in by Sebastian Huber <sebastian.huber@…>, on 05/14/12 at 14:53:49

Filesystem: Add const qualifier to lock/unlock

  • Property mode set to 100644
File size: 664 bytes
Line 
1/*
2 * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Obere Lagerstr. 30
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.com/license/LICENSE.
13 */
14
15#if HAVE_CONFIG_H
16  #include "config.h"
17#endif
18
19#include <rtems/libio_.h>
20
21void rtems_filesystem_default_lock(
22  const rtems_filesystem_mount_table_entry_t *mt_entry
23)
24{
25  rtems_libio_lock();
26}
27
28void rtems_filesystem_default_unlock(
29  const rtems_filesystem_mount_table_entry_t *mt_entry
30)
31{
32  rtems_libio_unlock();
33}
Note: See TracBrowser for help on using the repository browser.