X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Faggregate.c;h=491578398bf099cb6c14ea4b976f89face0df954;hb=505d1c592469ea99da7723c2770f13f5dc965046;hp=aa289716f5a6aaaabf26a7d7ec45b38ff7434ec9;hpb=ea37b218562bd9c02c23d2669c70b2509e0588ea;p=pspp-builds.git diff --git a/src/language/stats/aggregate.c b/src/language/stats/aggregate.c index aa289716..49157839 100644 --- a/src/language/stats/aggregate.c +++ b/src/language/stats/aggregate.c @@ -154,10 +154,10 @@ static int aggregate_single_case (struct agr_proc *agr, static void dump_aggregate_info (struct agr_proc *agr, struct ccase *output); /* Aggregating to the active file. */ -static bool agr_to_active_file (struct ccase *, void *aux); +static bool agr_to_active_file (const struct ccase *, void *aux); /* Aggregating to a system file. */ -static bool presorted_agr_to_sysfile (struct ccase *, void *aux); +static bool presorted_agr_to_sysfile (const struct ccase *, void *aux); /* Parsing. */ @@ -1074,7 +1074,7 @@ initialize_aggregate_info (struct agr_proc *agr, const struct ccase *input) are dropped. Returns true if successful, false if an I/O error occurred. */ static bool -agr_to_active_file (struct ccase *c, void *agr_) +agr_to_active_file (const struct ccase *c, void *agr_) { struct agr_proc *agr = agr_; @@ -1087,7 +1087,7 @@ agr_to_active_file (struct ccase *c, void *agr_) /* Aggregate the current case and output it if we passed a breakpoint. */ static bool -presorted_agr_to_sysfile (struct ccase *c, void *agr_) +presorted_agr_to_sysfile (const struct ccase *c, void *agr_) { struct agr_proc *agr = agr_;