X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Faggregate.c;h=491578398bf099cb6c14ea4b976f89face0df954;hb=aacb81b15f6b8b34def3ef7b76c7d069a64bc5d8;hp=aa289716f5a6aaaabf26a7d7ec45b38ff7434ec9;hpb=81fff61a96bece351e381ad3fef8ab1248a952ba;p=pspp diff --git a/src/language/stats/aggregate.c b/src/language/stats/aggregate.c index aa289716f5..491578398b 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_;