lib: use common precond. assert. macros from `assert-cond.h` thru lib
[babeltrace.git] / src / lib / graph / interrupter.c
index a7e2c0d18b19dcb57acfc750ded5dae6774ff241..75237d3b0550a4ca2198d9e8fa5341caaf4bf046 100644 (file)
@@ -43,19 +43,19 @@ end:
 
 void bt_interrupter_set(struct bt_interrupter *intr)
 {
-       BT_ASSERT_PRE_NON_NULL(intr, "Interrupter");
+       BT_ASSERT_PRE_INTR_NON_NULL(intr);
        intr->is_set = true;
 }
 
 void bt_interrupter_reset(struct bt_interrupter *intr)
 {
-       BT_ASSERT_PRE_NON_NULL(intr, "Interrupter");
+       BT_ASSERT_PRE_INTR_NON_NULL(intr);
        intr->is_set = false;
 }
 
 bt_bool bt_interrupter_is_set(const struct bt_interrupter *intr)
 {
-       BT_ASSERT_PRE_NON_NULL(intr, "Interrupter");
+       BT_ASSERT_PRE_INTR_NON_NULL(intr);
        return (bt_bool) intr->is_set;
 }
 
This page took 0.022848 seconds and 4 git commands to generate.