Changed a lot of non-const pointers to const.
[pspp-builds.git] / src / language / dictionary / split-file.c
index 0dcf2a4918e13aa4cd7f98b8791a34305fedf8ab..01df29e26bc27f246756c85f880c29993ebe9339 100644 (file)
@@ -69,7 +69,7 @@ void
 output_split_file_values (const struct dataset *ds, const struct ccase *c)
 {
   const struct dictionary *dict = dataset_dict (ds);
-  struct variable *const *split;
+  const struct variable *const *split;
   struct tab_table *t;
   size_t split_cnt;
   int i;
@@ -88,7 +88,7 @@ output_split_file_values (const struct dataset *ds, const struct ccase *c)
   split = dict_get_split_vars (dict);
   for (i = 0; i < split_cnt; i++)
     {
-      struct variable *v = split[i];
+      const struct variable *v = split[i];
       char temp_buf[80];
       const char *val_lab;
       const struct fmt_spec *print = var_get_print_format (v);