sink.ctf.fs: set_field_refs(): make `fc` `const` as `fc_type` depends on it
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 1 May 2019 20:58:09 +0000 (16:58 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:12:56 +0000 (00:12 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I9b0a0eb3fc41d9181205cb4f3f33334b90a3b712

plugins/ctf/fs-sink/translate-trace-ir-to-ctf-ir.c

index d3144a18105a5f4ab096ffa5c609839dc1afa63f..4d740139c8e62973eb9b47495b0b7bf2532c8c19 100644 (file)
@@ -896,8 +896,8 @@ end:
  * sequence field class.
  */
 static
-int set_field_refs(struct fs_sink_ctf_field_class *fc, const char *fc_name,
-               struct fs_sink_ctf_field_class *parent_fc)
+int set_field_refs(struct fs_sink_ctf_field_class * const fc,
+               const char *fc_name, struct fs_sink_ctf_field_class *parent_fc)
 {
        int ret = 0;
        enum fs_sink_ctf_field_class_type fc_type;
This page took 0.024807 seconds and 5 git commands to generate.