include/babeltrace/graph: fix some include guards
[babeltrace.git] / include / babeltrace / graph / connection-internal.h
index 587e4822b245b9920e6c4ab598399358b1b8419c..366dc0e4e8babc81ed854fdcfc76f9065689af15 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_COMPONENT_CONNECTION_INTERNAL_H
-#define BABELTRACE_COMPONENT_CONNECTION_INTERNAL_H
+#ifndef BABELTRACE_GRAPH_CONNECTION_INTERNAL_H
+#define BABELTRACE_GRAPH_CONNECTION_INTERNAL_H
 
 /*
  * BabelTrace - Component Connection Internal
@@ -32,6 +32,7 @@
 #include <babeltrace/graph/notification-iterator-internal.h>
 #include <babeltrace/graph/private-connection.h>
 #include <babeltrace/object-internal.h>
+#include <babeltrace/assert-internal.h>
 #include <stdbool.h>
 
 struct bt_graph;
@@ -88,7 +89,7 @@ void bt_connection_remove_iterator(struct bt_connection *conn,
 static inline
 struct bt_graph *bt_connection_borrow_graph(struct bt_connection *conn)
 {
-       assert(conn);
+       BT_ASSERT(conn);
        return (void *) conn->base.parent;
 }
 
@@ -144,4 +145,4 @@ const char *bt_connection_status_string(enum bt_connection_status status)
        }
 }
 
-#endif /* BABELTRACE_COMPONENT_CONNECTION_INTERNAL_H */
+#endif /* BABELTRACE_GRAPH_CONNECTION_INTERNAL_H */
This page took 0.023752 seconds and 4 git commands to generate.