Remove include of <babeltrace-internal.h> from public headers
[babeltrace.git] / include / babeltrace / graph / notification-heap.h
index ddadc67eb2bc7496b0826d627300b1174d1f7ae5..df912c193096bcd0eee9ae2785387eb91558135d 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_COMPONENT_NOTIFICATION_HEAP_H
-#define BABELTRACE_COMPONENT_NOTIFICATION_HEAP_H
+#ifndef BABELTRACE_GRAPH_NOTIFICATION_HEAP_H
+#define BABELTRACE_GRAPH_NOTIFICATION_HEAP_H
 
 /*
  * Babeltrace - Notification Heap
@@ -27,9 +27,8 @@
  */
 
 #include <stddef.h>
-#include <stdbool.h>
 #include <babeltrace/graph/notification.h>
-#include <babeltrace/babeltrace-internal.h>
+#include <babeltrace/types.h>
 
 /**
  * bt_notification_time_compare - Compare two notifications' timestamps
@@ -40,7 +39,7 @@
  * used to order the notifications. This criterion shall ensure a consistent
  * ordering over multiple runs.
  */
-typedef bool (*bt_notification_time_compare_func)(
+typedef bt_bool (*bt_notification_time_compare_func)(
                struct bt_notification *a, struct bt_notification *b,
                void *user_data);
 
@@ -90,4 +89,4 @@ extern struct bt_notification *bt_notification_heap_peek(
 extern struct bt_notification *bt_notification_heap_pop(
                struct bt_notification_heap *heap);
 
-#endif /* BABELTRACE_COMPONENT_NOTIFICATION_HEAP_H */
+#endif /* BABELTRACE_GRAPH_NOTIFICATION_HEAP_H */
This page took 0.023988 seconds and 4 git commands to generate.