summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/rfs
diff options
context:
space:
mode:
authorDaniel Ramirez <javamonn@gmail.com>2013-11-21 16:54:21 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-21 16:56:48 -0600
commitbb81e04ae3a88ce37de8718ef112ace59b3975af (patch)
tree3ade9b3de36057f6ba755cd74a17aa63c2eb7729 /cpukit/libfs/src/rfs
parentscore/rbtree: Remove "unprotected" from API (diff)
downloadrtems-bb81e04ae3a88ce37de8718ef112ace59b3975af.tar.bz2
statvfs and ALL filesystem handlers: Add restrict keyword.
Diffstat (limited to 'cpukit/libfs/src/rfs')
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-rtems.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c
index 100f70c538..5f30cf75ed 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c
@@ -740,8 +740,9 @@ rtems_rfs_rtems_rename(const rtems_filesystem_location_info_t* old_parent_loc,
* @return int
*/
static int
-rtems_rfs_rtems_statvfs (const rtems_filesystem_location_info_t* pathloc,
- struct statvfs* sb)
+rtems_rfs_rtems_statvfs (
+ const rtems_filesystem_location_info_t *__restrict pathloc,
+ struct statvfs *__restrict sb)
{
rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);
size_t blocks;