projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Continue reforming procedure execution. In this phase, add `const' to
[pspp-builds.git]
/
src
/
language
/
stats
/
aggregate.c
diff --git
a/src/language/stats/aggregate.c
b/src/language/stats/aggregate.c
index aa289716f5a6aaaabf26a7d7ec45b38ff7434ec9..491578398bf099cb6c14ea4b976f89face0df954 100644
(file)
--- 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 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. */
/* 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);
\f
/* Parsing. */
\f
/* 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
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_;
{
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
/* 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_;
{
struct agr_proc *agr = agr_;