Fix -Wmissing-prototypes/-Wmissing-declarations warnings
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt_message_iterator.i.h
index 76b2c876d26a03bbd2d42d15d633c318d4a6be1b..7802ee6d0830f5ac0379703a40f1c83b82bf7548 100644 (file)
@@ -22,6 +22,7 @@
  * THE SOFTWARE.
  */
 
+static
 bt_self_component_port_input_message_iterator_create_from_message_iterator_status
 bt_bt2_self_component_port_input_message_iterator_create_from_message_iterator(
                bt_self_message_iterator *self_msg_iter,
@@ -41,6 +42,7 @@ bt_bt2_self_component_port_input_message_iterator_create_from_message_iterator(
        return status;
 }
 
+static
 bt_self_component_port_input_message_iterator_create_from_sink_component_status
 bt_bt2_self_component_port_input_message_iterator_create_from_sink_component(
                bt_self_component_sink *self_comp,
@@ -66,9 +68,9 @@ static PyObject *bt_bt2_get_user_component_from_user_msg_iter(
        bt_self_component *self_component = bt_self_message_iterator_borrow_component(self_message_iterator);
        PyObject *py_comp;
 
-       BT_ASSERT(self_component);
+       BT_ASSERT_DBG(self_component);
        py_comp = bt_self_component_get_data(self_component);
-       BT_ASSERT(py_comp);
+       BT_ASSERT_DBG(py_comp);
 
        /* Return new reference */
        Py_INCREF(py_comp);
This page took 0.02432 seconds and 4 git commands to generate.