X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-writer%2Fvalues-internal.h;fp=include%2Fbabeltrace%2Fctf-writer%2Fvalues-internal.h;h=4cd74e1bd866eceeb94373ec3888518ae8b73284;hp=ca87255a327073cfea3e035fc08e7b3841b6ffc8;hb=b78363ea4bb7ae82bd3cd4e8fa404385765c8776;hpb=2431859f12cb59c937f7d91f93d15062565e8b8f diff --git a/include/babeltrace/ctf-writer/values-internal.h b/include/babeltrace/ctf-writer/values-internal.h index ca87255a..4cd74e1b 100644 --- a/include/babeltrace/ctf-writer/values-internal.h +++ b/include/babeltrace/ctf-writer/values-internal.h @@ -52,7 +52,7 @@ enum bt_ctf_value_status _bt_ctf_value_freeze(struct bt_ctf_value *object); # define bt_ctf_value_freeze(_value) #endif /* BT_DEV_MODE */ -struct bt_ctf_value *bt_ctf_value_null; +extern struct bt_ctf_value *const bt_ctf_value_null; enum bt_ctf_value_type { /// Null value object. @@ -190,7 +190,7 @@ enum bt_ctf_value_status bt_ctf_value_map_extend( struct bt_ctf_value; struct bt_ctf_private_value; -struct bt_ctf_private_value *bt_ctf_private_value_null; +extern struct bt_ctf_private_value *const bt_ctf_private_value_null; static inline struct bt_ctf_value *bt_ctf_private_value_as_value(