port.{h,c}: use `bt_bool` instead of `int` where appropriate
[babeltrace.git] / lib / graph / port.c
index b0e95f6eb8e25b4f5bfdaf5e4550d7be48a5b0d7..7a464708e9371a55a49899340685c402fe82acfd 100644 (file)
@@ -26,6 +26,7 @@
  * SOFTWARE.
  */
 
+#include <babeltrace/graph/port.h>
 #include <babeltrace/graph/component-internal.h>
 #include <babeltrace/graph/port-internal.h>
 #include <babeltrace/graph/connection-internal.h>
@@ -174,7 +175,7 @@ end:
        return ret;
 }
 
-int bt_port_is_connected(struct bt_port *port)
+bt_bool bt_port_is_connected(struct bt_port *port)
 {
        int ret;
 
This page took 0.022472 seconds and 4 git commands to generate.