X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-writer%2Fvalues-internal.h;h=4cd74e1bd866eceeb94373ec3888518ae8b73284;hb=6f85b96306474a896586ba6f30874975ab75e93a;hp=ca87255a327073cfea3e035fc08e7b3841b6ffc8;hpb=c938519d8588b7e57fb534e68ecc8978fcbffcc7;p=babeltrace.git 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(