namespace the declaration functions
[babeltrace.git] / formats / ctf / types / float.c
index d77cff53bea6676d9d3618366f0218f8beb93e54..2dfef86ee49dc4df4f017c39d8ce0be128602ddf 100644 (file)
@@ -216,7 +216,7 @@ int ctf_float_read(struct stream_pos *ppos, struct definition *definition)
        }
 
 end_unref:
-       definition_unref(tmpdef);
+       bt_definition_unref(tmpdef);
 end:
        float_unlock();
        return ret;
@@ -272,7 +272,7 @@ int ctf_float_write(struct stream_pos *ppos, struct definition *definition)
        ret = _ctf_float_copy(ppos, float_definition, &srcp.parent, tmpfloat);
 
 end_unref:
-       definition_unref(tmpdef);
+       bt_definition_unref(tmpdef);
 end:
        float_unlock();
        return ret;
@@ -282,12 +282,12 @@ static
 void __attribute__((constructor)) ctf_float_init(void)
 {
        static_float_declaration =
-               float_declaration_new(FLT_MANT_DIG,
+               bt_float_declaration_new(FLT_MANT_DIG,
                                sizeof(float) * CHAR_BIT - FLT_MANT_DIG,
                                BYTE_ORDER,
                                __alignof__(float));
        static_double_declaration =
-               float_declaration_new(DBL_MANT_DIG,
+               bt_float_declaration_new(DBL_MANT_DIG,
                                sizeof(double) * CHAR_BIT - DBL_MANT_DIG,
                                BYTE_ORDER,
                                __alignof__(double));
This page took 0.024832 seconds and 4 git commands to generate.