Change "union value" to dynamically allocate long strings.
[pspp-builds.git] / src / language / stats / sign.c
index b76d9e33ebc59ae43db95f04339b344469c34434..a5a272126007c557a2c006b652d73cf7e9fe4436 100644 (file)
@@ -17,8 +17,6 @@
 #include <config.h>
 #include "sign.h"
 
-#include <xalloc.h>
-
 #include <data/variable.h>
 #include <libpspp/str.h>
 #include <output/table.h>
@@ -31,6 +29,9 @@
 #include <data/casereader.h>
 #include <data/format.h>
 
+#include "minmax.h"
+#include "xalloc.h"
+
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
 
@@ -56,7 +57,7 @@ output_frequency_table (const struct two_sample_test *t2s,
   const struct variable *wv = dict_get_weight (dict);
   const struct fmt_spec *wfmt = wv ? var_get_print_format (wv) : & F_8_0;
 
-  tab_dim (table, tab_natural_dimensions);
+  tab_dim (table, tab_natural_dimensions, NULL);
 
   tab_title (table, _("Frequencies"));
 
@@ -109,7 +110,7 @@ output_statistics_table (const struct two_sample_test *t2s,
   int i;
   struct tab_table *table = tab_create (1 + t2s->n_pairs, 4, 0);
 
-  tab_dim (table, tab_natural_dimensions);
+  tab_dim (table, tab_natural_dimensions, NULL);
 
   tab_title (table, _("Test Statistics"));