lib: remove unused includes
[babeltrace.git] / src / lib / graph / graph.h
index 29490cdb537d9fb4a1e0b46f6d771c74b2c7c1a9..01dfaec6a8df300cccde917a897560cb2fd31d4e 100644 (file)
 
 #include <babeltrace2/graph/graph.h>
 #include <babeltrace2/graph/message.h>
-#include "common/macros.h"
 #include "lib/object.h"
 #include "lib/object-pool.h"
 #include "common/assert.h"
-#include "common/common.h"
 #include <stdbool.h>
-#include <stdlib.h>
 #include <glib.h>
 
 #include "component.h"
 #include "component-sink.h"
 #include "connection.h"
-#include "lib/func-status.h"
 
 /* Protection: this file uses BT_LIB_LOG*() macros directly */
 #ifndef BT_LIB_LOG_SUPPORTED
 # error Please include "lib/logging.h" before including this file.
 #endif
 
-/*
- * Protection: this file uses precondition and postcondition assertion
- * macros directly.
- */
-#ifndef BT_ASSERT_COND_SUPPORTED
-# error Please include "lib/assert-cond.h" before including this file.
-#endif
-
 struct bt_component;
 struct bt_port;
 
@@ -60,7 +48,7 @@ struct bt_graph {
         *
         * In terms of ownership:
         * 1) The graph is the components' parent,
-        * 2) The graph is the connnections' parent,
+        * 2) The graph is the connections' parent,
         * 3) Components share the ownership of their connections,
         * 4) A connection holds weak references to its two component endpoints.
         */
This page took 0.023278 seconds and 4 git commands to generate.