From 5424322a9f6fc37dfb09760c779a63460ecf7eb5 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 14 Aug 2010 17:09:59 +0200 Subject: [PATCH] Constness --- src/language/stats/oneway.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/language/stats/oneway.c b/src/language/stats/oneway.c index 97088ebf96..e210bc4772 100644 --- a/src/language/stats/oneway.c +++ b/src/language/stats/oneway.c @@ -557,8 +557,8 @@ postcalc (const struct oneway_spec *cmd) } } -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) @@ -887,7 +887,7 @@ show_homogeneity (const struct oneway_spec *cmd, const struct oneway_workspace * 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]; @@ -915,7 +915,7 @@ show_homogeneity (const struct oneway_spec *cmd, const struct oneway_workspace * /* 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; @@ -1007,7 +1007,7 @@ show_contrast_coeffs (const struct oneway_spec *cmd, struct oneway_workspace *ws /* 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; -- 2.30.2