common-internal.h: prefix functions with `bt_common_`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 4 Mar 2019 21:47:41 +0000 (16:47 -0500)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
include/babeltrace/common-internal.h
lib/graph/iterator.c
plugins/utils/muxer/muxer.c

index 306fd9bdb520fe66f9d1c827209b3e50d9f5d2af..05dabfc45ce63354b221df43f3e90f4eddf6a81c 100644 (file)
@@ -432,7 +432,7 @@ const char *bt_common_value_type_string(enum bt_value_type type)
 };
 
 static inline
-GString *bt_field_path_string(struct bt_field_path *path)
+GString *bt_common_field_path_string(struct bt_field_path *path)
 {
        GString *str = g_string_new(NULL);
        uint64_t i;
@@ -458,7 +458,7 @@ end:
 }
 
 static inline
-const char *bt_self_message_iterator_status_string(
+const char *bt_common_self_message_iterator_status_string(
                enum bt_self_message_iterator_status status)
 {
        switch (status) {
index ef627e3a1884f1f4c78ac9195c6756116641a05b..01c21128e84c69ea3cb7ac3d598e55d96aa0093f 100644 (file)
@@ -975,7 +975,7 @@ bt_self_component_port_input_message_iterator_seek_beginning(
                status == BT_MESSAGE_ITERATOR_STATUS_NOMEM ||
                status == BT_MESSAGE_ITERATOR_STATUS_AGAIN,
                "Unexpected status: %![iter-]+i, status=%s",
-               iterator, bt_self_message_iterator_status_string(status));
+               iterator, bt_common_self_message_iterator_status_string(status));
        set_iterator_state_after_seeking(iterator, status);
        return status;
 }
@@ -1359,7 +1359,7 @@ bt_self_component_port_input_message_iterator_seek_ns_from_origin(
                        status == BT_MESSAGE_ITERATOR_STATUS_AGAIN,
                        "Unexpected status: %![iter-]+i, status=%s",
                        iterator,
-                       bt_self_message_iterator_status_string(status));
+                       bt_common_self_message_iterator_status_string(status));
        } else {
                /* Start automatic seeking: seek beginning first */
                BT_ASSERT(iterator->methods.can_seek_beginning(iterator));
@@ -1375,7 +1375,7 @@ bt_self_component_port_input_message_iterator_seek_ns_from_origin(
                        status == BT_MESSAGE_ITERATOR_STATUS_AGAIN,
                        "Unexpected status: %![iter-]+i, status=%s",
                        iterator,
-                       bt_self_message_iterator_status_string(status));
+                       bt_common_self_message_iterator_status_string(status));
                switch (status) {
                case BT_MESSAGE_ITERATOR_STATUS_OK:
                        break;
index ad285dfe4ad1b14c6de76a5662c93c92be69c1d4..9fb1ae20d80f05aff0c9495e473e436b24ef2948 100644 (file)
@@ -1000,11 +1000,11 @@ bt_self_message_iterator_status muxer_msg_iter_do_next_one(
                if (status < 0) {
                        BT_LOGE("Cannot find the youngest upstream message iterator wrapper: "
                                "status=%s",
-                               bt_self_message_iterator_status_string(status));
+                               bt_common_self_message_iterator_status_string(status));
                } else {
                        BT_LOGV("Cannot find the youngest upstream message iterator wrapper: "
                                "status=%s",
-                               bt_self_message_iterator_status_string(status));
+                               bt_common_self_message_iterator_status_string(status));
                }
 
                goto end;
@@ -1300,11 +1300,11 @@ bt_self_message_iterator_status muxer_msg_iter_next(
                        "comp-addr=%p, muxer-comp-addr=%p, muxer-msg-iter-addr=%p, "
                        "msg-iter-addr=%p, status=%s",
                        self_comp, muxer_comp, muxer_msg_iter, self_msg_iter,
-                       bt_self_message_iterator_status_string(status));
+                       bt_common_self_message_iterator_status_string(status));
        } else {
                BT_LOGV("Returning from muxer component's message iterator's \"next\" method: "
                        "status=%s",
-                       bt_self_message_iterator_status_string(status));
+                       bt_common_self_message_iterator_status_string(status));
        }
 
        return status;
This page took 0.027361 seconds and 4 git commands to generate.