Pivot Table: Fix compiler warning.
[pspp] / src / output / pivot-table.h
index c7198a2add47f7a7465f3540f3497afa15616230..aa064953fedb25aa97a4e1016227b421854c064d 100644 (file)
@@ -378,7 +378,7 @@ struct pivot_table
     bool row_labels_in_corner;
     bool show_grid_lines;
     bool omit_empty;       /* Omit empty rows and columns? */
-    size_t *current_layer; /* axis[PIVOT_AXIS_LAYER]->n_dimensions elements. */
+    size_t *current_layer; /* axis[PIVOT_AXIS_LAYER].n_dimensions elements. */
     char *table_look;
     enum settings_value_show show_values;
     enum settings_value_show show_variables;
@@ -590,7 +590,7 @@ struct pivot_value
     char *subscript;
     char *superscript;
 
-    struct pivot_footnote **footnotes;
+    const struct pivot_footnote **footnotes;
     size_t n_footnotes;
 
     enum pivot_value_type type;
@@ -671,10 +671,10 @@ struct pivot_value *pivot_value_new_user_text (const char *, size_t length);
 struct pivot_value *pivot_value_new_user_text_nocopy (char *);
 
 /* Footnotes. */
-void pivot_value_add_footnote (struct pivot_value *, struct pivot_footnote *);
+void pivot_value_add_footnote (struct pivot_value *, const struct pivot_footnote *);
 
 /* Numeric formats. */
-void pivot_value_set_rc (struct pivot_table *, struct pivot_value *,
+void pivot_value_set_rc (const struct pivot_table *, struct pivot_value *,
                          const char *rc);
 
 /* Converting a pivot_value to a string for display. */