Remove stdbool.h includes from C++ files
[babeltrace.git] / src / ctf-writer / field-wrapper.c
index 9c84051239c2c2c4740340f080373def1ac1232e..c801de4bfad36a6a4133575f4220507165fccb5d 100644 (file)
@@ -13,8 +13,8 @@
 #include "field-wrapper.h"
 #include "object.h"
 
-BT_HIDDEN
-struct bt_ctf_field_wrapper *bt_ctf_field_wrapper_new(void *data)
+struct bt_ctf_field_wrapper *bt_ctf_field_wrapper_new(
+               void *data __attribute__((unused)))
 {
        struct bt_ctf_field_wrapper *field_wrapper =
                g_new0(struct bt_ctf_field_wrapper, 1);
@@ -34,7 +34,6 @@ end:
        return field_wrapper;
 }
 
-BT_HIDDEN
 void bt_ctf_field_wrapper_destroy(struct bt_ctf_field_wrapper *field_wrapper)
 {
        BT_LOGD("Destroying field wrapper: addr=%p", field_wrapper);
@@ -43,7 +42,6 @@ void bt_ctf_field_wrapper_destroy(struct bt_ctf_field_wrapper *field_wrapper)
        g_free(field_wrapper);
 }
 
-BT_HIDDEN
 struct bt_ctf_field_wrapper *bt_ctf_field_wrapper_create(
                struct bt_ctf_object_pool *pool, struct bt_ctf_field_type *ft)
 {
This page took 0.024239 seconds and 4 git commands to generate.