From 6a14d440bcb07f7832d741b89249dc4fdaaf65a9 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 17 Sep 2008 19:14:20 +0000 Subject: 2008-09-17 Joel Sherrill * 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. --- cpukit/ChangeLog | 7 +++++++ cpukit/libfs/src/devfs/devclose.c | 2 +- cpukit/libfs/src/devfs/devfs_init.c | 4 +++- cpukit/libfs/src/devfs/devfs_show.c | 1 + cpukit/libfs/src/devfs/devioctl.c | 2 +- cpukit/libfs/src/devfs/devopen.c | 2 +- cpukit/libfs/src/devfs/devread.c | 2 +- cpukit/libfs/src/devfs/devwrite.c | 2 +- 8 files changed, 16 insertions(+), 6 deletions(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index fff546a519..929f5d3056 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,10 @@ +2008-09-17 Joel Sherrill + + * 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 * libcsupport/src/free.c, libcsupport/src/malloc.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 #include +#include +#include +#include #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 #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; -- cgit v1.2.3