diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 11:42:19 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 11:42:19 +0000 |
commit | 4088d01d9f037d26365d462fa243561da8cd8cb1 (patch) | |
tree | 09c49db259194ed146ef51d086e6cb142e63fb1b /cpukit/libcsupport/src/unmount.c | |
parent | 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-4088d01d9f037d26365d462fa243561da8cd8cb1.tar.bz2 |
Convert using "bool".
Diffstat (limited to 'cpukit/libcsupport/src/unmount.c')
-rw-r--r-- | cpukit/libcsupport/src/unmount.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libcsupport/src/unmount.c b/cpukit/libcsupport/src/unmount.c index 422e89ea6e..e4ee7a74a4 100644 --- a/cpukit/libcsupport/src/unmount.c +++ b/cpukit/libcsupport/src/unmount.c @@ -43,7 +43,7 @@ int search_mt_for_mount_point( rtems_filesystem_location_info_t *location_of_mount_point ); -rtems_boolean rtems_filesystem_nodes_equal( +bool rtems_filesystem_nodes_equal( const rtems_filesystem_location_info_t *loc1, const rtems_filesystem_location_info_t *loc2 ){ @@ -63,7 +63,7 @@ rtems_boolean rtems_filesystem_nodes_equal( * the root node of the file system being unmounted. */ -rtems_boolean file_systems_below_this_mountpoint( +bool file_systems_below_this_mountpoint( const char *path, rtems_filesystem_location_info_t *fs_root_loc, rtems_filesystem_mount_table_entry_t *fs_to_unmount @@ -82,11 +82,11 @@ rtems_boolean file_systems_below_this_mountpoint( the_node = the_node->next ) { the_mount_entry = ( rtems_filesystem_mount_table_entry_t * )the_node; if (the_mount_entry->mt_point_node.mt_entry == fs_root_loc->mt_entry ) { - return TRUE; + return true; } } - return FALSE; + return false; } /* @@ -113,7 +113,7 @@ int unmount( * The mount entry that is being refered to. */ - if ( rtems_filesystem_evaluate_path( path, 0x0, &loc, TRUE ) ) + if ( rtems_filesystem_evaluate_path( path, 0x0, &loc, true ) ) return -1; mt_entry = loc.mt_entry; |