Reworked settings so as to use one large struct instead of lots of static
[pspp-builds.git] / src / data / sys-file-writer.c
index c5392666ff9d441d33b139c688d1a77b638e42b8..7804e5914f72d7ac49f06a1f8ccb1bd71aec48ce 100644 (file)
@@ -136,7 +136,7 @@ sfm_writer_default_options (void)
 {
   struct sfm_write_options opts;
   opts.create_writeable = true;
-  opts.compress = get_scompression ();
+  opts.compress = settings_get_scompression ();
   opts.version = 3;
   return opts;
 }
@@ -333,7 +333,7 @@ write_header (struct sfm_writer *w, const struct dictionary *d)
     }
   else
     {
-      static const char *month_name[12] =
+      static const char *const month_name[12] =
         {
           "Jan", "Feb", "Mar", "Apr", "May", "Jun",
           "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",