diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-27 16:20:44 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-27 16:20:44 +0000 |
commit | 596bead5191fc9647f3cd72e995d209a698711f3 (patch) | |
tree | 758e9d4b41fc837392c4d51635c3b989adb030a5 /cpukit | |
parent | 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-596bead5191fc9647f3cd72e995d209a698711f3.tar.bz2 |
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c:
Use size_t instead of int for pathlen.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/devfs/devfs.h | 2 | ||||
-rw-r--r-- | cpukit/libfs/src/devfs/devfs_eval.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 180d6a3e4c..62935c2411 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,7 @@ 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org> + * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c: + Use size_t instead of int for pathlen. * libfs/src/nfsclient/src/nfs.c: Use uint32_t instead of u_int_t for readarg and writearg. diff --git a/cpukit/libfs/src/devfs/devfs.h b/cpukit/libfs/src/devfs/devfs.h index 81ac4a2415..6b1daa1a0c 100644 --- a/cpukit/libfs/src/devfs/devfs.h +++ b/cpukit/libfs/src/devfs/devfs.h @@ -195,7 +195,7 @@ extern int devFS_node_type( extern int devFS_evaluate_path( const char *pathname, - int pathnamelen, + size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ); diff --git a/cpukit/libfs/src/devfs/devfs_eval.c b/cpukit/libfs/src/devfs/devfs_eval.c index d86bd9eb8c..28e867c4ce 100644 --- a/cpukit/libfs/src/devfs/devfs_eval.c +++ b/cpukit/libfs/src/devfs/devfs_eval.c @@ -17,7 +17,7 @@ int devFS_evaluate_path( const char *pathname, - int pathnamelen, + size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) |