From bb81e04ae3a88ce37de8718ef112ace59b3975af Mon Sep 17 00:00:00 2001 From: Daniel Ramirez Date: Thu, 21 Nov 2013 16:54:21 -0600 Subject: statvfs and ALL filesystem handlers: Add restrict keyword. --- cpukit/libfs/src/dosfs/msdos_statvfs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpukit/libfs/src/dosfs/msdos_statvfs.c') diff --git a/cpukit/libfs/src/dosfs/msdos_statvfs.c b/cpukit/libfs/src/dosfs/msdos_statvfs.c index 1a1d974fc3..87d863ed86 100644 --- a/cpukit/libfs/src/dosfs/msdos_statvfs.c +++ b/cpukit/libfs/src/dosfs/msdos_statvfs.c @@ -18,8 +18,9 @@ #include "fat_fat_operations.h" #include "msdos.h" -int msdos_statvfs(const rtems_filesystem_location_info_t *root_loc, - struct statvfs *sb) +int msdos_statvfs( + const rtems_filesystem_location_info_t *__restrict root_loc, + struct statvfs *__restrict sb) { msdos_fs_info_t *fs_info = root_loc->mt_entry->fs_info; fat_vol_t *vol = &fs_info->fat.vol; -- cgit v1.2.3