ir: rename bt_ctf_field_path_get_root()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 8 Feb 2016 08:26:40 +0000 (03:26 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 19 Feb 2016 21:24:19 +0000 (16:24 -0500)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/ir/field-path.c
include/babeltrace/ctf-ir/field-path.h
tests/lib/test_bt_ctf_field_type_validation.c

index 67a90b4830752e12eac034bed9e34e754b575965..44de8cd409134f0abc9f5b0d001766224ddc45e6 100644 (file)
@@ -96,7 +96,7 @@ end:
        return new_path;
 }
 
-enum bt_ctf_scope bt_ctf_field_path_get_root(
+enum bt_ctf_scope bt_ctf_field_path_get_root_scope(
                const struct bt_ctf_field_path *field_path)
 {
        enum bt_ctf_scope scope = BT_CTF_SCOPE_UNKNOWN;
index 5a0ec2af25cd62ea8192a24252b932fd30aacbf8..ffcaae008a216df038bcd7d8096fa3fa1e13eae4 100644 (file)
@@ -37,7 +37,7 @@ extern "C" {
 struct bt_ctf_field_path;
 
 /*
- * bt_ctf_field_path_get_root: get the root node of a field path.
+ * bt_ctf_field_path_get_root_scope: get the root node of a field path.
  *
  * Get the field path's root node.
  *
@@ -45,7 +45,7 @@ struct bt_ctf_field_path;
  *
  * Returns the root node of a field path, or BT_CTF_SCOPE_UNKNOWN on error.
  */
-extern enum bt_ctf_scope bt_ctf_field_path_get_root(
+extern enum bt_ctf_scope bt_ctf_field_path_get_root_scope(
                const struct bt_ctf_field_path *field_path);
 
 /*
index 0e8b07880c0df90c31a945380cb2668819cc455f..6338a7b36b29da1d86cb8bc8e466350cf4314982 100644 (file)
@@ -1662,7 +1662,7 @@ int validate_field_path(struct bt_ctf_field_type *field_type,
                goto end;
        }
 
-       if (bt_ctf_field_path_get_root(field_path) != root) {
+       if (bt_ctf_field_path_get_root_scope(field_path) != root) {
                ret = -1;
                goto end;
        }
This page took 0.026131 seconds and 4 git commands to generate.