mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-29 04:12:34 +08:00
statvfs filesystem handlers: Remove restrict
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
/** @} */
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user