X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fctf-writer%2Fvalues.c;h=7c45dafa4e769b0ed7ba530387d767aef0640d3a;hb=3fadfbc0c91f82c46bd36e6e0657ea93570c9db1;hp=e67d8b590f5bd7f8b9176c37ad579b1a3ea7b002;hpb=e1e02a22957d83adc526c016d5d3b978b8e6d26d;p=babeltrace.git diff --git a/lib/ctf-writer/values.c b/lib/ctf-writer/values.c index e67d8b59..7c45dafa 100644 --- a/lib/ctf-writer/values.c +++ b/lib/ctf-writer/values.c @@ -22,22 +22,22 @@ */ #define BT_LOG_TAG "CTF-WRITER-VALUES" -#include +#include #include #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #define BT_CTF_VALUE_FROM_CONCRETE(_concrete) ((struct bt_ctf_value *) (_concrete)) #define BT_CTF_VALUE_TO_BOOL(_base) ((struct bt_ctf_value_bool *) (_base)) @@ -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 {