* libfs/src/devfs/devclose.c, libfs/src/devfs/devfs_eval.c,
	libfs/src/devfs/devioctl.c, libfs/src/devfs/devopen.c,
	libfs/src/devfs/devread.c, libfs/src/devfs/devwrite.c: Fix warnings.
This commit is contained in:
Joel Sherrill
2008-09-18 13:21:49 +00:00
parent 641ef00ab6
commit ec9e8a9bae
7 changed files with 17 additions and 11 deletions

View File

@@ -1,3 +1,9 @@
2008-09-18 Miao Yan <yanmiaobest@gmail.com>
* libfs/src/devfs/devclose.c, libfs/src/devfs/devfs_eval.c,
libfs/src/devfs/devioctl.c, libfs/src/devfs/devopen.c,
libfs/src/devfs/devread.c, libfs/src/devfs/devwrite.c: Fix warnings.
2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* Doxyfile.in, rtems/mainpage.h, score/include/rtems/system.h: Move to

View File

@@ -21,9 +21,9 @@ int devFS_close(
{
rtems_libio_open_close_args_t args;
rtems_status_code status;
rtems_driver_name_t *np;
rtems_device_name_t *np;
np = (rtems_driver_name_t *)iop->file_info;
np = (rtems_device_name_t *)iop->file_info;
args.iop = iop;
args.flags = 0;

View File

@@ -42,7 +42,7 @@ int devFS_evaluate_path(
pathloc->node_access = (void *)&device_name_table[i];
pathloc->handlers = &devFS_file_handlers;
pathloc->ops = &devFS_ops;
pathloc->mt_entry = &rtems_filesystem_root;
pathloc->mt_entry = rtems_filesystem_root.mt_entry;
return 0;
}
}

View File

@@ -23,9 +23,9 @@ int devFS_ioctl(
{
rtems_libio_ioctl_args_t args;
rtems_status_code status;
rtems_driver_name_t *np;
rtems_device_name_t *np;
np = (rtems_driver_name_t *)iop->file_info;
np = (rtems_device_name_t *)iop->file_info;
args.iop = iop;
args.command = command;

View File

@@ -24,9 +24,9 @@ int devFS_open(
{
rtems_libio_open_close_args_t args;
rtems_status_code status;
rtems_driver_name_t *np;
rtems_device_name_t *np;
np = (rtems_driver_name_t *)iop->file_info;
np = (rtems_device_name_t *)iop->file_info;
args.iop = iop;
args.flags = iop->flags;

View File

@@ -23,9 +23,9 @@ ssize_t devFS_read(
{
rtems_libio_rw_args_t args;
rtems_status_code status;
rtems_driver_name_t *np;
rtems_device_name_t *np;
np = (rtems_driver_name_t *)iop->file_info;
np = (rtems_device_name_t *)iop->file_info;
args.iop = iop;
args.offset = iop->offset;

View File

@@ -23,9 +23,9 @@ ssize_t devFS_write(
{
rtems_libio_rw_args_t args;
rtems_status_code status;
rtems_driver_name_t *np;
rtems_device_name_t *np;
np = (rtems_driver_name_t *)iop->file_info;
np = (rtems_device_name_t *)iop->file_info;
args.iop = iop;
args.offset = iop->offset;