X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Fautorecode.c;h=89f546f2da8cf81e27fcb2f13a14cdc470834e81;hb=5e89e0049bd55f22412f547d8d7bfefc69443e98;hp=a4177be8e2a18ef4975b2a1a0a208a015244cc18;hpb=b0bf9b1b0f727fafac4296a048e3f45db5936f81;p=pspp diff --git a/src/language/stats/autorecode.c b/src/language/stats/autorecode.c index a4177be8e2..89f546f2da 100644 --- a/src/language/stats/autorecode.c +++ b/src/language/stats/autorecode.c @@ -22,6 +22,7 @@ #include #include +#include #include #include #include @@ -33,7 +34,6 @@ #include #include #include -#include #include "gettext.h" #define _(msgid) gettext (msgid) @@ -85,7 +85,7 @@ struct autorecode_pgm static trns_proc_func autorecode_trns_proc; static trns_free_func autorecode_trns_free; -static bool autorecode_proc_func (struct ccase *, void *); +static bool autorecode_proc_func (const struct ccase *, void *); static hsh_compare_func compare_alpha_value, compare_numeric_value; static hsh_hash_func hash_alpha_value, hash_numeric_value; @@ -338,7 +338,7 @@ hash_numeric_value (const void *a_, void *foo UNUSED) } static bool -autorecode_proc_func (struct ccase *c, void *arc_) +autorecode_proc_func (const struct ccase *c, void *arc_) { struct autorecode_pgm *arc = arc_; size_t i;