Avoid unnecessary inclusions in public headers
[babeltrace.git] / include / babeltrace / graph / notification-heap.h
index df912c193096bcd0eee9ae2785387eb91558135d..3efb541ee3ad1e89adc4f69a8ddff151e11ada93 100644 (file)
  */
 
 #include <stddef.h>
-#include <babeltrace/graph/notification.h>
+
+/* For bt_bool */
 #include <babeltrace/types.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct bt_notification;
+
 /**
  * bt_notification_time_compare - Compare two notifications' timestamps
  *
@@ -89,4 +96,8 @@ extern struct bt_notification *bt_notification_heap_peek(
 extern struct bt_notification *bt_notification_heap_pop(
                struct bt_notification_heap *heap);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* BABELTRACE_GRAPH_NOTIFICATION_HEAP_H */
This page took 0.024293 seconds and 4 git commands to generate.