spv-legacy-decoder: Make 'data' parameter to decode_spvdx_table() const.
[pspp] / src / output / spv / spv-legacy-decoder.c
index 099d96cbcc8077ed63fd8db6fe77e7ad29460a86..7641d78ed05c1ec334f3c1c580321aef22942658 100644 (file)
@@ -761,7 +761,7 @@ static char BAD_REFERENCE;
 
 static char * WARN_UNUSED_RESULT
 decode_spvdx_source_variable (const struct spvxml_node *node,
-                              struct spv_data *data,
+                              const struct spv_data *data,
                               struct hmap *series_map)
 {
   const struct spvdx_source_variable *sv = spvdx_cast_source_variable (node);
@@ -1768,7 +1768,7 @@ format_map_destroy (struct hmap *format_map)
 char * WARN_UNUSED_RESULT
 decode_spvdx_table (const struct spvdx_visualization *v, const char *subtype,
                     const struct pivot_table_look *look,
-                    struct spv_data *data, struct pivot_table **outp)
+                    const struct spv_data *data, struct pivot_table **outp)
 {
   struct pivot_table *table = pivot_table_create__ (NULL, subtype);