Namespace the struct definition
[babeltrace.git] / formats / ctf / types / string.c
index 5771733b63ba35c42ddb3da3e06a22c5c2baa7f7..a2433bf5922d2013e80f19a1e1897842657de535 100644 (file)
@@ -31,7 +31,7 @@
 #include <limits.h>            /* C99 limits */
 #include <string.h>
 
-int ctf_string_read(struct bt_stream_pos *ppos, struct definition *definition)
+int ctf_string_read(struct bt_stream_pos *ppos, struct bt_definition *definition)
 {
        struct definition_string *string_definition =
                container_of(definition, struct definition_string, p);
@@ -69,7 +69,7 @@ int ctf_string_read(struct bt_stream_pos *ppos, struct definition *definition)
 }
 
 int ctf_string_write(struct bt_stream_pos *ppos,
-                     struct definition *definition)
+                     struct bt_definition *definition)
 {
        struct definition_string *string_definition =
                container_of(definition, struct definition_string, p);
This page took 0.022771 seconds and 4 git commands to generate.