summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-27 13:06:16 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-11-27 13:06:16 -0600
commit03e54614a3ca200d67736b8f0ae73a3063edcbee (patch)
tree5f9bf9c2ab71a9b422d377a9a3206a573e9663f6
parentpsxtmtests_plan.csv: Add explicit No status (diff)
downloadrtems-03e54614a3ca200d67736b8f0ae73a3063edcbee.tar.bz2
statvfs filesystem handlers: Remove restrict
-rw-r--r--cpukit/libcsupport/include/rtems/libio.h8
-rw-r--r--cpukit/libfs/src/defaults/default_statvfs.c4
-rw-r--r--cpukit/libfs/src/dosfs/msdos.h12
-rw-r--r--cpukit/libfs/src/dosfs/msdos_dir.c4
-rw-r--r--cpukit/libfs/src/dosfs/msdos_file.c4
5 files changed, 16 insertions, 16 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h
index c1b7b73d7f..21d57ebddf 100644
--- a/cpukit/libcsupport/include/rtems/libio.h
+++ b/cpukit/libcsupport/include/rtems/libio.h
@@ -485,8 +485,8 @@ typedef int (*rtems_filesystem_rename_t)(
* @see rtems_filesystem_default_statvfs().
*/
typedef int (*rtems_filesystem_statvfs_t)(
- const rtems_filesystem_location_info_t *__restrict loc,
- struct statvfs *__restrict buf
+ const rtems_filesystem_location_info_t *loc,
+ struct statvfs *buf
);
/**
@@ -738,8 +738,8 @@ int rtems_filesystem_default_rename(
* @see rtems_filesystem_statvfs_t.
*/
int rtems_filesystem_default_statvfs(
- const rtems_filesystem_location_info_t *__restrict loc,
- struct statvfs *__restrict buf
+ const rtems_filesystem_location_info_t *loc,
+ struct statvfs *buf
);
/** @} */
diff --git a/cpukit/libfs/src/defaults/default_statvfs.c b/cpukit/libfs/src/defaults/default_statvfs.c
index 41ac1c0a46..139d0b0742 100644
--- a/cpukit/libfs/src/defaults/default_statvfs.c
+++ b/cpukit/libfs/src/defaults/default_statvfs.c
@@ -21,8 +21,8 @@
#include <rtems/seterr.h>
int rtems_filesystem_default_statvfs(
- const rtems_filesystem_location_info_t *__restrict loc,
- struct statvfs *__restrict buf
+ const rtems_filesystem_location_info_t *loc,
+ struct statvfs *buf
)
{
rtems_set_errno_and_return_minus_one( ENOSYS );
diff --git a/cpukit/libfs/src/dosfs/msdos.h b/cpukit/libfs/src/dosfs/msdos.h
index 2fa3b58887..57865d5153 100644
--- a/cpukit/libfs/src/dosfs/msdos.h
+++ b/cpukit/libfs/src/dosfs/msdos.h
@@ -313,8 +313,8 @@ int msdos_rename(
);
int msdos_statvfs(
- const rtems_filesystem_location_info_t *__restrict root_loc,
- struct statvfs *__restrict sb);
+ const rtems_filesystem_location_info_t *root_loc,
+ struct statvfs *sb);
void msdos_lock(const rtems_filesystem_mount_table_entry_t *mt_entry);
@@ -348,8 +348,8 @@ ssize_t msdos_file_write(
);
int msdos_file_stat(
- const rtems_filesystem_location_info_t *__restrict loc,
- struct stat *__restrict buf
+ const rtems_filesystem_location_info_t *loc,
+ struct stat *buf
);
int
@@ -371,8 +371,8 @@ ssize_t msdos_dir_read(
int msdos_dir_sync(rtems_libio_t *iop);
int msdos_dir_stat(
- const rtems_filesystem_location_info_t *__restrict loc,
- struct stat *__restrict buf
+ const rtems_filesystem_location_info_t *loc,
+ struct stat *buf
);
/**
diff --git a/cpukit/libfs/src/dosfs/msdos_dir.c b/cpukit/libfs/src/dosfs/msdos_dir.c
index ffc9f7f7a9..d7f6823ec9 100644
--- a/cpukit/libfs/src/dosfs/msdos_dir.c
+++ b/cpukit/libfs/src/dosfs/msdos_dir.c
@@ -383,8 +383,8 @@ msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)
*/
int
msdos_dir_stat(
- const rtems_filesystem_location_info_t *__restrict loc,
- struct stat *__restrict buf
+ const rtems_filesystem_location_info_t *loc,
+ struct stat *buf
)
{
rtems_status_code sc = RTEMS_SUCCESSFUL;
diff --git a/cpukit/libfs/src/dosfs/msdos_file.c b/cpukit/libfs/src/dosfs/msdos_file.c
index 03bf6d608e..b19b848786 100644
--- a/cpukit/libfs/src/dosfs/msdos_file.c
+++ b/cpukit/libfs/src/dosfs/msdos_file.c
@@ -189,8 +189,8 @@ msdos_file_write(rtems_libio_t *iop,const void *buffer, size_t count)
*/
int
msdos_file_stat(
- const rtems_filesystem_location_info_t *__restrict loc,
- struct stat *__restrict buf
+ const rtems_filesystem_location_info_t *loc,
+ struct stat *buf
)
{
rtems_status_code sc = RTEMS_SUCCESSFUL;