ctf-writer: Fix -Wredundant-decls warning
[babeltrace.git] / src / ctf-writer / utils.h
index 488251ce90de9f8ba8a72d3ed2f62e9603471daf..1b961eb63bc2765d3fafbd005073321c164628b3 100644 (file)
@@ -21,9 +21,9 @@
  * SOFTWARE.
  */
 
-#include "common/babeltrace.h"
-#include <babeltrace2/ctf-writer/field-types.h>
-#include <babeltrace2/ctf-writer/event.h>
+#include "common/macros.h"
+#include <babeltrace2-ctf-writer/field-types.h>
+#include <babeltrace2-ctf-writer/event.h>
 #include <stdint.h>
 
 #include "field-path.h"
@@ -36,9 +36,6 @@ struct bt_ctf_search_query {
        int found;
 };
 
-BT_HIDDEN
-const char *bt_ctf_get_byte_order_string(enum bt_ctf_byte_order byte_order);
-
 static inline
 const char *bt_ctf_field_type_id_string(enum bt_ctf_field_type_id type_id)
 {
@@ -200,7 +197,7 @@ GString *bt_ctf_field_path_string(struct bt_ctf_field_path *path)
        GString *str = g_string_new(NULL);
        size_t i;
 
-       BT_ASSERT(path);
+       BT_ASSERT_DBG(path);
 
        if (!str) {
                goto end;
This page took 0.02688 seconds and 4 git commands to generate.