}
}
-static void show_contrast_coeffs (const struct oneway_spec *cmd, struct oneway_workspace *ws);
-static void show_contrast_tests (const struct oneway_spec *cmd, struct oneway_workspace *ws);
+static void show_contrast_coeffs (const struct oneway_spec *cmd, const struct oneway_workspace *ws);
+static void show_contrast_tests (const struct oneway_spec *cmd, const struct oneway_workspace *ws);
static void
output_oneway (const struct oneway_spec *cmd, struct oneway_workspace *ws)
for (v = 0; v < cmd->n_vars; ++v)
{
- struct per_var_ws *pvw = &ws->vws[v];
+ const struct per_var_ws *pvw = &ws->vws[v];
const struct categoricals *cats = covariance_get_categoricals (pvw->cov);
const struct variable *var = cmd->vars[v];
/* Show the contrast coefficients table */
static void
-show_contrast_coeffs (const struct oneway_spec *cmd, struct oneway_workspace *ws)
+show_contrast_coeffs (const struct oneway_spec *cmd, const struct oneway_workspace *ws)
{
int c_num = 0;
struct ll *cli;
/* Show the results of the contrast tests */
static void
-show_contrast_tests (const struct oneway_spec *cmd, struct oneway_workspace *ws)
+show_contrast_tests (const struct oneway_spec *cmd, const struct oneway_workspace *ws)
{
int n_contrasts = ll_count (&cmd->contrast_list);
size_t v;