From 78f417f897fddb0fd78af81cfcefca5a44a7d1c5 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sun, 7 Oct 2012 17:17:27 +0200 Subject: Filesystem: Rename function Rename rtems_filesystem_location_exists_in_same_fs_instance_as() into rtems_filesystem_location_exists_in_same_instance_as() for consistency with other file system instance related functions. --- cpukit/libcsupport/include/rtems/libio_.h | 2 +- cpukit/libcsupport/src/_rename_r.c | 2 +- cpukit/libcsupport/src/link.c | 2 +- cpukit/libcsupport/src/sup_fs_exist_in_same_instance.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h index fb8b534712..f2791a0a61 100644 --- a/cpukit/libcsupport/include/rtems/libio_.h +++ b/cpukit/libcsupport/include/rtems/libio_.h @@ -769,7 +769,7 @@ void rtems_filesystem_eval_path_error( * @retval 0 The locations exist and are in the same file system instance. * @retval -1 An error occured. The @c errno indicates the error. */ -int rtems_filesystem_location_exists_in_same_fs_instance_as( +int rtems_filesystem_location_exists_in_same_instance_as( const rtems_filesystem_location_info_t *a, const rtems_filesystem_location_info_t *b ); diff --git a/cpukit/libcsupport/src/_rename_r.c b/cpukit/libcsupport/src/_rename_r.c index 007f2499c4..c501472fc1 100644 --- a/cpukit/libcsupport/src/_rename_r.c +++ b/cpukit/libcsupport/src/_rename_r.c @@ -52,7 +52,7 @@ int _rename_r( const rtems_filesystem_location_info_t *new_currentloc = rtems_filesystem_eval_path_start( &new_ctx, new, new_eval_flags ); - rv = rtems_filesystem_location_exists_in_same_fs_instance_as( + rv = rtems_filesystem_location_exists_in_same_instance_as( old_currentloc, new_currentloc ); diff --git a/cpukit/libcsupport/src/link.c b/cpukit/libcsupport/src/link.c index c16e7a018e..f49cca2302 100644 --- a/cpukit/libcsupport/src/link.c +++ b/cpukit/libcsupport/src/link.c @@ -31,7 +31,7 @@ int link( const char *path1, const char *path2 ) const rtems_filesystem_location_info_t *currentloc_2 = rtems_filesystem_eval_path_start( &ctx_2, path2, eval_flags_2 ); - rv = rtems_filesystem_location_exists_in_same_fs_instance_as( + rv = rtems_filesystem_location_exists_in_same_instance_as( currentloc_1, currentloc_2 ); diff --git a/cpukit/libcsupport/src/sup_fs_exist_in_same_instance.c b/cpukit/libcsupport/src/sup_fs_exist_in_same_instance.c index 71a4d43b7c..6d19ae4346 100644 --- a/cpukit/libcsupport/src/sup_fs_exist_in_same_instance.c +++ b/cpukit/libcsupport/src/sup_fs_exist_in_same_instance.c @@ -18,7 +18,7 @@ #include -int rtems_filesystem_location_exists_in_same_fs_instance_as( +int rtems_filesystem_location_exists_in_same_instance_as( const rtems_filesystem_location_info_t *a, const rtems_filesystem_location_info_t *b ) -- cgit v1.2.3