projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Eliminate temp_case, and a few other cleanups.
[pspp-builds.git]
/
src
/
frequencies.q
diff --git
a/src/frequencies.q
b/src/frequencies.q
index d9f8660f94c7e49898c1e8c6db20cf05fbef94bc..66faf5ef027e2608914a0a9b2927bedbe5831ee7 100644
(file)
--- a/
src/frequencies.q
+++ b/
src/frequencies.q
@@
-518,6
+518,8
@@
get_freq_comparator (int frq_sort, int var_type)
return 0;
}
return 0;
}
+/* Returns nonzero iff the value in struct freq F is non-missing
+ for variable V. */
static int
not_missing (const void *f_, void *v_)
{
static int
not_missing (const void *f_, void *v_)
{
@@
-527,8
+529,9
@@
not_missing (const void *f_, void *v_)
return !is_missing (&f->v, v);
}
return !is_missing (&f->v, v);
}
+/* Summarizes the frequency table data for variable V. */
static void
static void
-postprocess_freq_tab (struct variable *
v)
+postprocess_freq_tab (struct variable *v)
{
hsh_compare_func *compare;
struct freq_tab *ft;
{
hsh_compare_func *compare;
struct freq_tab *ft;
@@
-575,6
+578,7
@@
postprocess_freq_tab (struct variable * v)
}
}
}
}
+/* Frees the frequency table for variable V. */
static void
cleanup_freq_tab (struct variable *v)
{
static void
cleanup_freq_tab (struct variable *v)
{