summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-17 19:14:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-17 19:14:20 +0000
commit6a14d440bcb07f7832d741b89249dc4fdaaf65a9 (patch)
tree8c82569dfada68a0bb7cd81166e82c04a20ded62 /cpukit
parent2008-09-17 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-6a14d440bcb07f7832d741b89249dc4fdaaf65a9.tar.bz2
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')
-rw-r--r--cpukit/ChangeLog7
-rw-r--r--cpukit/libfs/src/devfs/devclose.c2
-rw-r--r--cpukit/libfs/src/devfs/devfs_init.c4
-rw-r--r--cpukit/libfs/src/devfs/devfs_show.c1
-rw-r--r--cpukit/libfs/src/devfs/devioctl.c2
-rw-r--r--cpukit/libfs/src/devfs/devopen.c2
-rw-r--r--cpukit/libfs/src/devfs/devread.c2
-rw-r--r--cpukit/libfs/src/devfs/devwrite.c2
8 files changed, 16 insertions, 6 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index fff546a519..929f5d3056 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,12 @@
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.
+
+2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* libcsupport/src/free.c, libcsupport/src/malloc.c,
libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
libcsupport/src/malloc_sbrk_helpers.c,
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;