diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-17 19:14:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-17 19:14:20 +0000 |
commit | 6a14d440bcb07f7832d741b89249dc4fdaaf65a9 (patch) | |
tree | 8c82569dfada68a0bb7cd81166e82c04a20ded62 /cpukit/libfs/src/devfs | |
parent | 96a0303b635d9e36e6c812ebc9ec76cde94f52b8 (diff) |
2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/devfs/devclose.c, libfs/src/devfs/devfs_init.c,
libfs/src/devfs/devfs_show.c, libfs/src/devfs/devioctl.c,
libfs/src/devfs/devopen.c, libfs/src/devfs/devread.c,
libfs/src/devfs/devwrite.c: Fix warnings.
Diffstat (limited to 'cpukit/libfs/src/devfs')
-rw-r--r-- | cpukit/libfs/src/devfs/devclose.c | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/devfs/devfs_init.c | 4 | ||||
-rw-r--r-- | cpukit/libfs/src/devfs/devfs_show.c | 1 | ||||
-rw-r--r-- | cpukit/libfs/src/devfs/devioctl.c | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/devfs/devopen.c | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/devfs/devread.c | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/devfs/devwrite.c | 2 |
7 files changed, 9 insertions, 6 deletions
diff --git a/cpukit/libfs/src/devfs/devclose.c b/cpukit/libfs/src/devfs/devclose.c index a87e12f338..87bac80488 100644 --- a/cpukit/libfs/src/devfs/devclose.c +++ b/cpukit/libfs/src/devfs/devclose.c @@ -23,7 +23,7 @@ int devFS_close( rtems_status_code status; rtems_driver_name_t *np; - np = (rtems_device_name_t *)iop->file_info; + np = (rtems_driver_name_t *)iop->file_info; args.iop = iop; args.flags = 0; diff --git a/cpukit/libfs/src/devfs/devfs_init.c b/cpukit/libfs/src/devfs/devfs_init.c index e54eaa654a..c98ac113cb 100644 --- a/cpukit/libfs/src/devfs/devfs_init.c +++ b/cpukit/libfs/src/devfs/devfs_init.c @@ -10,8 +10,10 @@ #include "config.h" #endif -#include <rtems/seterr.h> #include <stdlib.h> +#include <rtems.h> +#include <rtems/seterr.h> +#include <rtems/score/wkspace.h> #include "devfs.h" rtems_filesystem_operations_table devFS_ops = diff --git a/cpukit/libfs/src/devfs/devfs_show.c b/cpukit/libfs/src/devfs/devfs_show.c index 026e3e4d69..83dcf857fc 100644 --- a/cpukit/libfs/src/devfs/devfs_show.c +++ b/cpukit/libfs/src/devfs/devfs_show.c @@ -10,6 +10,7 @@ #include "config.h" #endif +#include <rtems/seterr.h> #include "devfs.h" int devFS_Show(void) diff --git a/cpukit/libfs/src/devfs/devioctl.c b/cpukit/libfs/src/devfs/devioctl.c index 9f3ec47e41..5325584b1d 100644 --- a/cpukit/libfs/src/devfs/devioctl.c +++ b/cpukit/libfs/src/devfs/devioctl.c @@ -25,7 +25,7 @@ int devFS_ioctl( rtems_status_code status; rtems_driver_name_t *np; - np = (rtems_device_name_t *)iop->file_info; + np = (rtems_driver_name_t *)iop->file_info; args.iop = iop; args.command = command; diff --git a/cpukit/libfs/src/devfs/devopen.c b/cpukit/libfs/src/devfs/devopen.c index db9a9a7aec..c05b116d3a 100644 --- a/cpukit/libfs/src/devfs/devopen.c +++ b/cpukit/libfs/src/devfs/devopen.c @@ -26,7 +26,7 @@ int devFS_open( rtems_status_code status; rtems_driver_name_t *np; - np = (rtems_device_name_t *)iop->file_info; + np = (rtems_driver_name_t *)iop->file_info; args.iop = iop; args.flags = iop->flags; diff --git a/cpukit/libfs/src/devfs/devread.c b/cpukit/libfs/src/devfs/devread.c index d532ba3d33..78fe102b6d 100644 --- a/cpukit/libfs/src/devfs/devread.c +++ b/cpukit/libfs/src/devfs/devread.c @@ -25,7 +25,7 @@ ssize_t devFS_read( rtems_status_code status; rtems_driver_name_t *np; - np = (rtems_device_name_t *)iop->file_info; + np = (rtems_driver_name_t *)iop->file_info; args.iop = iop; args.offset = iop->offset; diff --git a/cpukit/libfs/src/devfs/devwrite.c b/cpukit/libfs/src/devfs/devwrite.c index bc0822251c..2a6bd5ab7a 100644 --- a/cpukit/libfs/src/devfs/devwrite.c +++ b/cpukit/libfs/src/devfs/devwrite.c @@ -25,7 +25,7 @@ ssize_t devFS_write( rtems_status_code status; rtems_driver_name_t *np; - np = (rtems_device_name_t *)iop->file_info; + np = (rtems_driver_name_t *)iop->file_info; args.iop = iop; args.offset = iop->offset; |