statvfs filesystem handlers: Remove restrict

This commit is contained in:
Joel Sherrill
2013-11-27 13:06:16 -06:00
parent 47efc01882
commit 03e54614a3
5 changed files with 16 additions and 16 deletions
+4 -4
View File
@@ -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
);
/** @} */
+2 -2
View File
@@ -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 );
+6 -6
View File
@@ -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
);
/**
+2 -2
View File
@@ -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;
+2 -2
View File
@@ -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;