Separate table functions that format their arguments from those that don't.
[pspp-builds.git] / src / language / stats / npar-summary.c
index 3ad3a5bb1554194cca7160be6b9b87fd4200e7dd..a6666b0d97d2172db72f2f92982dcd0f27eb59fc 100644 (file)
@@ -86,11 +86,6 @@ npar_summary_calc_descriptives (struct descriptives *desc,
 }
 
 
-void
-do_summary_box (const struct descriptives *desc,
-               const struct variable *const *vv,
-               int n_vars);
-
 
 void
 do_summary_box (const struct descriptives *desc,
@@ -109,14 +104,14 @@ do_summary_box (const struct descriptives *desc,
 
   table = tab_create (columns, 2 + n_vars, 0);
 
-  tab_dim (table, tab_natural_dimensions);
+  tab_dim (table, tab_natural_dimensions, NULL, NULL);
 
   tab_title (table, _("Descriptive Statistics"));
 
   tab_headers (table, 1, 0, 1, 0);
 
   tab_box (table, TAL_1, TAL_1, -1, TAL_1,
-          0, 0, table->nc - 1, tab_nr(table) - 1 );
+          0, 0, tab_nc (table) - 1, tab_nr(table) - 1 );
 
   tab_hline (table, TAL_2, 0, tab_nc (table) -1, 2);
   tab_vline (table, TAL_2, 1, 0, tab_nr (table) - 1);