Fix: duplicate symbol with clang linker
[babeltrace.git] / lib / ctf-writer / values.c
index e67d8b590f5bd7f8b9176c37ad579b1a3ea7b002..dc84b769f26a755656b38c3b6a627b111df1d90e 100644 (file)
@@ -88,8 +88,8 @@ struct bt_ctf_value bt_ctf_value_null_instance = {
        .frozen = BT_TRUE,
 };
 
-struct bt_ctf_value *bt_ctf_value_null = &bt_ctf_value_null_instance;
-struct bt_ctf_private_value *bt_ctf_private_value_null =
+struct bt_ctf_value *const bt_ctf_value_null = &bt_ctf_value_null_instance;
+struct bt_ctf_private_value *const bt_ctf_private_value_null =
        (void *) &bt_ctf_value_null_instance;
 
 struct bt_ctf_value_bool {
This page took 0.023331 seconds and 4 git commands to generate.