Hide new bt_ctf_field_path_* symbols
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 23 Oct 2016 22:34:57 +0000 (18:34 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 24 Oct 2016 17:25:31 +0000 (13:25 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/ir/field-path.c
include/Makefile.am
include/babeltrace/ctf-ir/field-path.h

index d7eabf3e539c4bae7a8121ce2a6e18ca341e6991..b0156dcff05121456519adb36bf36393214a6e07 100644 (file)
@@ -97,6 +97,7 @@ end:
        return new_path;
 }
 
+BT_HIDDEN
 enum bt_ctf_scope bt_ctf_field_path_get_root_scope(
                const struct bt_ctf_field_path *field_path)
 {
@@ -112,6 +113,7 @@ end:
        return scope;
 }
 
+BT_HIDDEN
 int bt_ctf_field_path_get_index_count(
                const struct bt_ctf_field_path *field_path)
 {
@@ -127,6 +129,7 @@ end:
        return ret;
 }
 
+BT_HIDDEN
 int bt_ctf_field_path_get_index(const struct bt_ctf_field_path *field_path,
                int index)
 {
index b6905cf6d7462d19a7455ab09759a687679ee006..027f2d32e6bc6d9f69baf9993837094085aa64f3 100644 (file)
@@ -27,7 +27,6 @@ babeltracectfirinclude_HEADERS = \
        babeltrace/ctf-ir/field-types.h \
        babeltrace/ctf-ir/event.h \
        babeltrace/ctf-ir/event-class.h \
-       babeltrace/ctf-ir/field-path.h \
        babeltrace/ctf-ir/stream.h \
        babeltrace/ctf-ir/packet.h \
        babeltrace/ctf-ir/stream-class.h \
@@ -75,6 +74,7 @@ noinst_HEADERS = \
        babeltrace/ctf-ir/packet-internal.h \
        babeltrace/ctf-ir/trace-internal.h \
        babeltrace/ctf-ir/validation-internal.h \
+       babeltrace/ctf-ir/field-path.h \
        babeltrace/ctf-writer/functor-internal.h \
        babeltrace/trace-handle-internal.h \
        babeltrace/compat/uuid.h \
index 40acfc8b3e56d633c5cded9c60a74109cc376bf8..a5350768309660a04747b6c99d7c0376f90efefe 100644 (file)
@@ -45,7 +45,8 @@ 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_scope(
+BT_HIDDEN
+enum bt_ctf_scope bt_ctf_field_path_get_root_scope(
                const struct bt_ctf_field_path *field_path);
 
 /*
@@ -57,7 +58,8 @@ extern enum bt_ctf_scope bt_ctf_field_path_get_root_scope(
  *
  * Returns the field path's index count, or a negative value on error.
  */
-extern int bt_ctf_field_path_get_index_count(
+BT_HIDDEN
+int bt_ctf_field_path_get_index_count(
                const struct bt_ctf_field_path *field_path);
 
 /*
@@ -70,7 +72,8 @@ extern int bt_ctf_field_path_get_index_count(
  *
  * Returns a field path index, or INT_MIN on error.
  */
-extern int bt_ctf_field_path_get_index(
+BT_HIDDEN
+int bt_ctf_field_path_get_index(
                const struct bt_ctf_field_path *field_path,
                int index);
 
This page took 0.026142 seconds and 4 git commands to generate.