[rtems commit] Filesystem: Rename function
Sebastian Huber
sebh at rtems.org
Sun Oct 7 15:17:49 UTC 2012
Module: rtems
Branch: master
Commit: 78f417f897fddb0fd78af81cfcefca5a44a7d1c5
Changeset: http://git.rtems.org/rtems/commit/?id=78f417f897fddb0fd78af81cfcefca5a44a7d1c5
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Sun Oct 7 17:17:27 2012 +0200
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 +-
.../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 fb8b534..f2791a0 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 007f249..c501472 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 c16e7a0..f49cca2 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 71a4d43..6d19ae4 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 <rtems/libio_.h>
-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
)
More information about the vc
mailing list