*/
#include <stddef.h>
-#include <stdbool.h>
-#include <babeltrace/graph/notification.h>
-#include <babeltrace/babeltrace-internal.h>
+
+/* For bt_bool */
+#include <babeltrace/types.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct bt_notification;
/**
* bt_notification_time_compare - Compare two notifications' timestamps
* 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);
extern struct bt_notification *bt_notification_heap_pop(
struct bt_notification_heap *heap);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* BABELTRACE_GRAPH_NOTIFICATION_HEAP_H */